mirror of
https://github.com/postgres/postgres.git
synced 2025-06-04 00:02:37 -04:00
pg_upgrade: Fix some whitespace oddities
This commit is contained in:
parent
61a07bae47
commit
55c3d86a2a
@ -351,7 +351,7 @@ set_locale_and_encoding(ClusterInfo *cluster)
|
||||
|
||||
res = executeQueryOrDie(conn,
|
||||
"SELECT datcollate, datctype "
|
||||
"FROM pg_catalog.pg_database "
|
||||
"FROM pg_catalog.pg_database "
|
||||
"WHERE datname = 'template0' ");
|
||||
assert(PQntuples(res) == 1);
|
||||
|
||||
@ -381,7 +381,7 @@ set_locale_and_encoding(ClusterInfo *cluster)
|
||||
|
||||
res = executeQueryOrDie(conn,
|
||||
"SELECT pg_catalog.pg_encoding_to_char(encoding) "
|
||||
"FROM pg_catalog.pg_database "
|
||||
"FROM pg_catalog.pg_database "
|
||||
"WHERE datname = 'template0' ");
|
||||
assert(PQntuples(res) == 1);
|
||||
|
||||
|
@ -61,7 +61,7 @@ old_8_3_check_for_name_data_type_usage(ClusterInfo *cluster)
|
||||
" a.atttypid = 'pg_catalog.name'::pg_catalog.regtype AND "
|
||||
" c.relnamespace = n.oid AND "
|
||||
/* exclude possible orphaned temp tables */
|
||||
" n.nspname !~ '^pg_temp_' AND "
|
||||
" n.nspname !~ '^pg_temp_' AND "
|
||||
" n.nspname !~ '^pg_toast_temp_' AND "
|
||||
" n.nspname NOT IN ('pg_catalog', 'information_schema')");
|
||||
|
||||
@ -151,7 +151,7 @@ old_8_3_check_for_tsquery_usage(ClusterInfo *cluster)
|
||||
" a.atttypid = 'pg_catalog.tsquery'::pg_catalog.regtype AND "
|
||||
" c.relnamespace = n.oid AND "
|
||||
/* exclude possible orphaned temp tables */
|
||||
" n.nspname !~ '^pg_temp_' AND "
|
||||
" n.nspname !~ '^pg_temp_' AND "
|
||||
" n.nspname !~ '^pg_toast_temp_' AND "
|
||||
" n.nspname NOT IN ('pg_catalog', 'information_schema')");
|
||||
|
||||
@ -328,7 +328,7 @@ old_8_3_rebuild_tsvector_tables(ClusterInfo *cluster, bool check_mode)
|
||||
" a.atttypid = 'pg_catalog.tsvector'::pg_catalog.regtype AND "
|
||||
" c.relnamespace = n.oid AND "
|
||||
/* exclude possible orphaned temp tables */
|
||||
" n.nspname !~ '^pg_temp_' AND "
|
||||
" n.nspname !~ '^pg_temp_' AND "
|
||||
" n.nspname !~ '^pg_toast_temp_' AND "
|
||||
" n.nspname NOT IN ('pg_catalog', 'information_schema')");
|
||||
|
||||
@ -700,7 +700,7 @@ old_8_3_create_sequence_script(ClusterInfo *cluster)
|
||||
"WHERE c.relkind = 'S' AND "
|
||||
" c.relnamespace = n.oid AND "
|
||||
/* exclude possible orphaned temp tables */
|
||||
" n.nspname !~ '^pg_temp_' AND "
|
||||
" n.nspname !~ '^pg_temp_' AND "
|
||||
" n.nspname !~ '^pg_toast_temp_' AND "
|
||||
" n.nspname NOT IN ('pg_catalog', 'information_schema')");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user