Re: [PATCHES] system catalog relation of a table and a serial sequence

Поиск
Список
Период
Сортировка
От Brent Verner
Тема Re: [PATCHES] system catalog relation of a table and a serial sequence
Дата
Msg-id 20011216022907.GB6948@rcfile.org
обсуждение исходный текст
Ответ на system catalog relation of a table and a serial sequence  (Brent Verner <brent@rcfile.org>)
Ответы Re: [PATCHES] system catalog relation of a table and a serial sequence  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
[2001-12-15 21:12] Tom Lane said:
| While you're at it, why not fix the code so that it can deal with
| multiple SERIALs attached to a table?

will do.  I'd appreciate a bit of advice on both of the issues to
be addressed.

1) Is a strcmp(firststrtok,"nextval('") == 0  sufficient to determine
   that the adsrc is indeed one that we're looking for?  If not,
   suggestions are greatly appreciated :-)

2) Should this function now look like .. ?
     char** getSerialSequenceNames(const char* table)
   Or would you suggest it return a smarter struct?

thanks.
  brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Third call for platform testing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] system catalog relation of a table and a serial sequence