Re: system catalog relation of a table and a serial sequence

From: Brent Verner <brent(at)rcfile(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: system catalog relation of a table and a serial sequence
Date: 2001-12-16 04:52:30
Message-ID: 20011216045230.GB7391@rcfile.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

[2001-12-15 23:25] Tom Lane said:
| Brent Verner <brent(at)rcfile(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-12-16 05:42:54 Re: system catalog relation of a table and a serial sequence
Previous Message Brent Verner 2001-12-16 04:38:19 Re: [HACKERS] system catalog relation of a table and a serial sequence

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-12-16 05:42:54 Re: system catalog relation of a table and a serial sequence
Previous Message Brent Verner 2001-12-16 04:38:19 Re: [HACKERS] system catalog relation of a table and a serial sequence