@@ -15,7 +15,7 @@ static void check_new_db_is_empty(void);
15
15
static void check_locale_and_encoding (ControlData * oldctrl ,
16
16
ControlData * newctrl );
17
17
static void check_for_isn_and_int8_passing_mismatch (
18
- Cluster whichCluster );
18
+ Cluster whichCluster );
19
19
static void check_for_reg_data_type_usage (Cluster whichCluster );
20
20
21
21
@@ -156,9 +156,9 @@ issue_warnings(char *sequence_script_file_name)
156
156
{
157
157
prep_status ("Adjusting sequences" );
158
158
exec_prog (true,
159
- SYSTEMQUOTE "\"%s/psql\" --set ON_ERROR_STOP=on "
160
- "--no-psqlrc --port %d --username \"%s\" "
161
- "-f \"%s\" --dbname template1 >> \"%s\"" SYSTEMQUOTE ,
159
+ SYSTEMQUOTE "\"%s/psql\" --set ON_ERROR_STOP=on "
160
+ "--no-psqlrc --port %d --username \"%s\" "
161
+ "-f \"%s\" --dbname template1 >> \"%s\"" SYSTEMQUOTE ,
162
162
new_cluster .bindir , new_cluster .port , os_info .user ,
163
163
sequence_script_file_name , log .filename );
164
164
unlink (sequence_script_file_name );
@@ -418,12 +418,12 @@ create_script_for_old_cluster_deletion(
418
418
/* remove PG_VERSION? */
419
419
if (GET_MAJOR_VERSION (old_cluster .major_version ) <= 804 )
420
420
fprintf (script , RM_CMD " %s%s/PG_VERSION\n" ,
421
- os_info .tablespaces [tblnum ], old_cluster .tablespace_suffix );
421
+ os_info .tablespaces [tblnum ], old_cluster .tablespace_suffix );
422
422
423
423
for (dbnum = 0 ; dbnum < new_cluster .dbarr .ndbs ; dbnum ++ )
424
424
{
425
425
fprintf (script , RMDIR_CMD " %s%s/%d\n" ,
426
- os_info .tablespaces [tblnum ], old_cluster .tablespace_suffix ,
426
+ os_info .tablespaces [tblnum ], old_cluster .tablespace_suffix ,
427
427
old_cluster .dbarr .dbs [dbnum ].db_oid );
428
428
}
429
429
}
@@ -434,7 +434,7 @@ create_script_for_old_cluster_deletion(
434
434
* or a version-specific subdirectory.
435
435
*/
436
436
fprintf (script , RMDIR_CMD " %s%s\n" ,
437
- os_info .tablespaces [tblnum ], old_cluster .tablespace_suffix );
437
+ os_info .tablespaces [tblnum ], old_cluster .tablespace_suffix );
438
438
}
439
439
440
440
fclose (script );
@@ -450,7 +450,7 @@ create_script_for_old_cluster_deletion(
450
450
451
451
452
452
/*
453
- * check_for_isn_and_int8_passing_mismatch()
453
+ * check_for_isn_and_int8_passing_mismatch()
454
454
*
455
455
* /contrib/isn relies on data type int8, and in 8.4 int8 can now be passed
456
456
* by value. The schema dumps the CREATE TYPE PASSEDBYVALUE setting so
@@ -547,7 +547,7 @@ check_for_isn_and_int8_passing_mismatch(Cluster whichCluster)
547
547
* pg_type.oid
548
548
* pg_enum.oid
549
549
*
550
- * Most of the reg* data types reference system catalog info that is
550
+ * Most of the reg* data types reference system catalog info that is
551
551
* not preserved, and hence these data types cannot be used in user
552
552
* tables upgraded by pg_upgrade.
553
553
*/
@@ -585,13 +585,13 @@ check_for_reg_data_type_usage(Cluster whichCluster)
585
585
"WHERE c.oid = a.attrelid AND "
586
586
" NOT a.attisdropped AND "
587
587
" a.atttypid IN ( "
588
- " 'pg_catalog.regproc'::pg_catalog.regtype, "
588
+ " 'pg_catalog.regproc'::pg_catalog.regtype, "
589
589
" 'pg_catalog.regprocedure'::pg_catalog.regtype, "
590
- " 'pg_catalog.regoper'::pg_catalog.regtype, "
590
+ " 'pg_catalog.regoper'::pg_catalog.regtype, "
591
591
" 'pg_catalog.regoperator'::pg_catalog.regtype, "
592
- " 'pg_catalog.regclass'::pg_catalog.regtype, "
593
- /* regtype.oid is preserved, so 'regtype' is OK */
594
- " 'pg_catalog.regconfig'::pg_catalog.regtype, "
592
+ " 'pg_catalog.regclass'::pg_catalog.regtype, "
593
+ /* regtype.oid is preserved, so 'regtype' is OK */
594
+ " 'pg_catalog.regconfig'::pg_catalog.regtype, "
595
595
" 'pg_catalog.regdictionary'::pg_catalog.regtype) AND "
596
596
" c.relnamespace = n.oid AND "
597
597
" n.nspname != 'pg_catalog' AND "
0 commit comments