Re: Inserting Default Values - Mailing list pgsql-general

From postgresql@fruru.com
Subject Re: Inserting Default Values
Date
Msg-id Pine.LNX.4.44.0202071815510.6427-100000@mail.conostix.com
Whole thread Raw
In response to Inserting Default Values  (Mike Barrett <mike@daboyz.org>)
List pgsql-general
On Thu, 7 Feb 2002, Mike Barrett wrote:
>     It inserts just fine, automatically taking the default value for
> id.  However, the table I'm actually using is the reverse of the previous.
> Example:
>
> [Table name 'status']
>  id        | integer               | not null default
> nextval('"status_id_seq"'::text)
>  name      | character varying(32) |
>
> sql=> insert into test values (,'blah');

insert into test (name) values ('blah');

--
Tycho Fruru            tycho.fruru@conostix.com




pgsql-general by date:

Previous
From: Mike Barrett
Date:
Subject: Inserting Default Values
Next
From: Doug McNaught
Date:
Subject: Re: Inserting Default Values