Re: COPY and Volatile default expressions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: COPY and Volatile default expressions
Date
Msg-id 2292.1366043732@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY and Volatile default expressions  (David Fetter <david@fetter.org>)
List pgsql-hackers
David Fetter <david@fetter.org> writes:
> On Mon, Apr 15, 2013 at 05:04:16PM +0100, Simon Riggs wrote:
>> Loading data into a table with a SERIAL or UUID column is the main
>> use case, so I'll measure that.

> The former is common enough a use case to optimize specifically,
> should the numbers come out right.

Yeah.  TBH I would rather see a special-case hack in the COPY code to
accept nextval() than expose anything as dirty and special-purpose as
this proposed flag to users.  But in any case, I don't believe that
adequate evidence has been offered to show that we should do anything
at all here.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: COPY and Volatile default expressions
Next
From: Tom Lane
Date:
Subject: Re: WIP: index support for regexp search