Re: [PATCHES] system catalog relation of a table and a serial sequence - Mailing list pgsql-hackers

From Brent Verner
Subject Re: [PATCHES] system catalog relation of a table and a serial sequence
Date
Msg-id 20011216022907.GB6948@rcfile.org
Whole thread Raw
In response to system catalog relation of a table and a serial sequence  (Brent Verner <brent@rcfile.org>)
Responses Re: [PATCHES] system catalog relation of a table and a serial sequence
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Third call for platform testing
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] system catalog relation of a table and a serial sequence