Re: SELECT INTO deprecation - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: SELECT INTO deprecation
Date
Msg-id 01923635-387c-c3fd-d9f9-7f91f20e426b@enterprisedb.com
Whole thread Raw
In response to Re: SELECT INTO deprecation  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On 2020-12-02 18:58, Stephen Frost wrote:
>> I also found some gratuitous uses of SELECT INTO in various tests and
>> documentation (not ecpg or plpgsql of course).  Here is a patch to adjust
>> those to CREATE TABLE AS.
> If we aren't actually removing SELECT INTO then I don't know that it
> makes sense to just stop testing it.

The point here was, there is still code that actually tests SELECT INTO 
specifically.  But unrelated test code that just wants to set up a quick 
table with some rows in it ought to use the preferred syntax for doing so.



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: autovac issue with large number of tables
Next
From: Peter Eisentraut
Date:
Subject: Re: SELECT INTO deprecation