Re: system catalog relation of a table and a serial sequence - Mailing list pgsql-patches

From Tom Lane
Subject Re: system catalog relation of a table and a serial sequence
Date
Msg-id 18826.1008481374@sss.pgh.pa.us
Whole thread Raw
In response to Re: system catalog relation of a table and a serial sequence  (Brent Verner <brent@rcfile.org>)
Responses Re: system catalog relation of a table and a serial sequence  (Brent Verner <brent@rcfile.org>)
Re: system catalog relation of a table and a serial sequence  (Brent Verner <brent@rcfile.org>)
List pgsql-patches
Brent Verner <brent@rcfile.org> writes:
> How about strtok_r?  I /really/ like the fact that strtok will
> eat either of the tokens ['"] that might be around the sequence
> name... just call me lazy :-)

That behavior creates one of the "corner cases" I was alluding to.
Shall I leave the difficulty as an exercise for the student?

            regards, tom lane

pgsql-patches by date:

Previous
From: Brent Verner
Date:
Subject: Re: system catalog relation of a table and a serial sequence
Next
From: "Serguei Mokhov"
Date:
Subject: Re: NLS (Russian) - pg_dump update