Re: autoincrement

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: autoincrement
Дата
Msg-id 200110252111.f9PLBXv27243@candle.pha.pa.us
обсуждение исходный текст
Ответ на autoincrement  (Alexey Prohorenko <green@usa.dp.ua>)
Список pgsql-sql
Use SERIAL instead of AUTO_INCREMENT.

>     How can I reproduce in PostgreSQL type structure from MySQL:
>     INT NOT NULL PRIMARY KEY AUTO_INCREMENT
> 
>     ?
> 
>     To be more exact -- in two words: "how can I create autoincrement
>     field?"
> 
>     Thanks a lot.
> 
> -- 
> green
> [http://www.extrasy.net] 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Alexey Prohorenko
Дата:
Сообщение: autoincrement
Следующее
От: "Aasmund Midttun Godal"
Дата:
Сообщение: Re: autoincrement