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 [EMAIL PROTECTED]
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to