From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>, Jeff Davis <pgsql(at)j-davis(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: INSERT ... VALUES... with ORDER BY / LIMIT |
Date: | 2010-10-04 01:05:08 |
Message-ID: | CCE2F56E-FBB5-430A-873B-E440A71D7CAF@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Oct 3, 2010, at 11:10 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com> writes:
>> DEFAULT is disallowed now in such VALUES list, but we can explain it
>> is allowed in a "simple" VALUES of INSERT case.
>
> I don't think we really need to explain anything. This is per spec;
> if you trace the way that a DEFAULT expression can appear in INSERT,
> it's treated as a <contextually typed value specification>,
> which appears in <contextually typed table value constructor>,
> which is VALUES and nothing else.
I thought we were discussing what should go into OUR documentation.
...Robert
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-10-04 01:08:56 | Re: patch: tsearch - some memory diet |
Previous Message | Hitoshi Harada | 2010-10-04 00:45:13 | Re: INSERT ... VALUES... with ORDER BY / LIMIT |