Re: [SQL] INSERT w/o variable names for a SERIAL type?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Emils Klotins <emils(at)mail(dot)usis(dot)bkc(dot)lv>, pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] INSERT w/o variable names for a SERIAL type?
Date: 2000-02-28 00:19:27
Message-ID: 200002280019.TAA11427@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> Tom Lane writes:
>
> > > INSERT INTO my_table VALUES (a, b, c, DEFAULT, x, y, z, ...);
> >
> > I think that is legal SQL92 syntax, but Postgres doesn't accept it
> > at present.
>
> Oops!
>
> We do support INSERT .. DEFAULT VALUES, so I guessed too far.

We do? What does the DEFAULT do?

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Christopher Sawtell 2000-02-28 00:36:09 [SQL] 7.0beta1?
Previous Message Peter Eisentraut 2000-02-28 00:00:31 Re: [SQL] INSERT w/o variable names for a SERIAL type?