| From: | Vadim Mikheev <vadim(at)krs(dot)ru> |
|---|---|
| To: | "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu> |
| Cc: | Postgres Hackers List <hackers(at)postgresql(dot)org>, Jose Soares Da Silva <sferac(at)bo(dot)nettuno(dot)it> |
| Subject: | Re: default values |
| Date: | 1998-09-03 01:15:33 |
| Message-ID: | 35EDEDB5.536EE3F0@krs.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Thomas G. Lockhart wrote:
>
> In transcribing Jose's reference page docs, I've come across examples
> where Jose has exposed deficiencies in Postgres' support of SQL92. I've
> fixed several (easier than transcribing more words :) and I've run into
> a bit of trouble on the latest one with the
>
> CREATE TABLE tablename DEFAULT VALUES
>
> statement. I changed the parser to allow this syntax and just use a nil
> pointer for the column list. Everything works OK except that the first
> column's default value is not assigned correctly.
>
> Any ideas on where to look? I'll probably commit the changes to gram.y
> anyway, since it almost works. Examples below...
DEFAULT is handled in parser/analyze.c:transformInsertStmt()...
Vadim
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 1998-09-03 02:12:02 | Re: [HACKERS] encoding problem |
| Previous Message | Vadim Mikheev | 1998-09-03 01:11:01 | Re: [HACKERS] Adding PRIMARY KEY info |