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

Поиск
Список
Период
Сортировка
От Brent Verner
Тема Re: system catalog relation of a table and a serial sequence
Дата
Msg-id 20011216045230.GB7391@rcfile.org
обсуждение исходный текст
Ответ на Re: system catalog relation of a table and a serial sequence  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: system catalog relation of a table and a serial sequence  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

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