Re: primary key and insert

From: johnf <jfabiani(at)yolo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: primary key and insert
Date: 2008-12-12 02:09:47
Message-ID: 200812111809.47962.jfabiani@yolo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thursday 11 December 2008 03:27:59 pm Marc Fromm wrote:
>  id         | integer                       | not null

I believe you did not set the field 'id' to a data type of serial. If you had
you would have "nextval(" in the Modifiers column.

--
John Fabiani

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Suresh Borse 2008-12-12 05:38:41 Re: primary key and insert
Previous Message Steve Crawford 2008-12-12 00:39:43 Re: primary key and insert