pgsql: Remove gratuitous uses of deprecated SELECT INTO - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove gratuitous uses of deprecated SELECT INTO
Date
Msg-id E1l57Ym-0005ay-2r@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove gratuitous uses of deprecated SELECT INTO

CREATE TABLE AS has been preferred over SELECT INTO (outside of ecpg
and PL/pgSQL) for a long time.  There were still a few uses of SELECT
INTO in tests and documentation, some old, some more recent.  This
changes them to CREATE TABLE AS.  Some occurrences in the tests remain
where they are specifically testing SELECT INTO parsing or similar.

Discussion: https://www.postgresql.org/message-id/flat/96dc0df3-e13a-a85d-d045-d6e2c85218da%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b034ef9b376dbe712caa076541d6a750f37d85ce

Modified Files
--------------
contrib/sepgsql/expected/label.out              | 2 +-
contrib/sepgsql/sql/label.sql                   | 2 +-
doc/src/sgml/hstore.sgml                        | 2 +-
src/bin/pg_basebackup/t/010_pg_basebackup.pl    | 4 ++--
src/bin/pg_checksums/t/002_actions.pl           | 2 +-
src/test/regress/expected/create_index.out      | 2 +-
src/test/regress/expected/create_misc.out       | 2 +-
src/test/regress/expected/random.out            | 3 ++-
src/test/regress/expected/select_implicit.out   | 6 ++++--
src/test/regress/expected/select_implicit_1.out | 6 ++++--
src/test/regress/expected/select_implicit_2.out | 6 ++++--
src/test/regress/sql/create_index.sql           | 2 +-
src/test/regress/sql/create_misc.sql            | 2 +-
src/test/regress/sql/random.sql                 | 3 ++-
src/test/regress/sql/select_implicit.sql        | 6 ++++--
15 files changed, 30 insertions(+), 20 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Add direct conversion routines between EUC_TW and Big5.
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Refactor code in tablecmds.c to check and process tablespace mov