Re: altering a table to set serial function

Поиск
Список
Период
Сортировка
Искать
От
Martijn van Oosterhout
Тема
Re: altering a table to set serial function
Дата
Msg-id
20040728131331.GD20734@svana.org
Ответ на
Список
Дерево обсуждения
altering a table to set serial function Prabu Subroto <prabu_subroto@yahoo.com>
Re: altering a table to set serial function "Scott Marlowe" <smarlowe@qwest.net>
Re: altering a table to set serial function Prabu Subroto <prabu_subroto@yahoo.com>
Re: altering a table to set serial function "Scott Marlowe" <smarlowe@qwest.net>
Re: altering a table to set serial function "Scott Marlowe" <smarlowe@qwest.net>
Re: altering a table to set serial function Martijn van Oosterhout <kleptog@svana.org>
Re: altering a starting value of "serial" macro Prabu Subroto <prabu_subroto@yahoo.com>
Re: altering a starting value of "serial" macro John Sidney-Woollett <johnsw@wardbrook.com>
Re: altering a starting value of "serial" macro Prabu Subroto <prabu_subroto@yahoo.com>
Re: altering a table to set serial function Doug McNaught <doug@mcnaught.org>
Re: altering a table to set serial function Prabu Subroto <prabu_subroto@yahoo.com>
Re: altering a table to set serial function Pierre-Frédéric Caillaud<lists@boutiquenumerique.com>
Re: altering a table to set serial function Pierre-Frédéric Caillaud<lists@boutiquenumerique.com>
On Wed, Jul 28, 2004 at 05:09:33AM -0700, Prabu Subroto wrote:
> Dear Scott...
> 
> My God.... so I can not use "alter table" to define a
> column with int data type?

eh? Sure you can:

alter table x add column y integer;

What's he's saying is that the "serial" shortcut isn't there and
proceeded to tell you how to do it manually...
-- 
Martijn van Oosterhout      http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
В списке pgsql-general по дате отправления
От: Geoff Caplan
Дата:
Сообщение: Re: Sql injection attacks
От: Doug McNaught
Дата:
FAQ