Re: Reduce WAL logging of INSERT SELECT - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Reduce WAL logging of INSERT SELECT
Date
Msg-id 15010.1312491335@sss.pgh.pa.us
Whole thread Raw
In response to Reduce WAL logging of INSERT SELECT  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Reduce WAL logging of INSERT SELECT
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> One thing we don't optimize is INSERT ... SELECT when the table is
> created or truncated in the same transaction.  Seems we could.

> We optimize CREATE TABLE AS which is effectively SELECT ... INTO using a
> different syntax.  Is this a TODO?

Considering that SELECT INTO is deprecated, I don't think we should be
expending effort to encourage people to use it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PQescapeByteaConn - returns wrong string for PG9.1 Beta3
Next
From: Andrew Dunstan
Date:
Subject: Re: Reduce WAL logging of INSERT SELECT