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

From Brent Verner
Subject Re: system catalog relation of a table and a serial sequence
Date
Msg-id 20011216045230.GB7391@rcfile.org
Whole thread Raw
In response to Re: system catalog relation of a table and a serial sequence  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: system catalog relation of a table and a serial sequence  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
[2001-12-15 23:25] Tom Lane said:
| Brent Verner <brent@rcfile.org> writes:
| > Why not use strtok?
|
| Well, it's ugly (I don't like non-reentrant library routines), it's
| not really buying anything, and I don't think you've got the corner
| cases right anyway.  I'd go for something like

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 :-)

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: Tom Lane
Date:
Subject: Re: [PATCHES] system catalog relation of a table and a serial sequence
Next
From: Tom Lane
Date:
Subject: Re: system catalog relation of a table and a serial sequence