Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
55c3d86a
Commit
55c3d86a
authored
Nov 16, 2013
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pg_upgrade: Fix some whitespace oddities
parent
61a07bae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
contrib/pg_upgrade/check.c
contrib/pg_upgrade/check.c
+2
-2
contrib/pg_upgrade/version_old_8_3.c
contrib/pg_upgrade/version_old_8_3.c
+4
-4
No files found.
contrib/pg_upgrade/check.c
View file @
55c3d86a
...
...
@@ -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
);
...
...
contrib/pg_upgrade/version_old_8_3.c
View file @
55c3d86a
...
...
@@ -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')"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment