@@ -15,7 +15,7 @@ static void check_new_db_is_empty(void);
1515static void check_locale_and_encoding (ControlData * oldctrl ,
1616ControlData * newctrl );
1717static void check_for_isn_and_int8_passing_mismatch (
18- Cluster whichCluster );
18+ Cluster whichCluster );
1919static void check_for_reg_data_type_usage (Cluster whichCluster );
2020
2121
@@ -156,9 +156,9 @@ issue_warnings(char *sequence_script_file_name)
156156{
157157prep_status ("Adjusting sequences" );
158158exec_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 ,
162162new_cluster .bindir ,new_cluster .port ,os_info .user ,
163163sequence_script_file_name ,log .filename );
164164unlink (sequence_script_file_name );
@@ -418,12 +418,12 @@ create_script_for_old_cluster_deletion(
418418/* remove PG_VERSION? */
419419if (GET_MAJOR_VERSION (old_cluster .major_version ) <=804 )
420420fprintf (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 );
422422
423423for (dbnum = 0 ;dbnum < new_cluster .dbarr .ndbs ;dbnum ++ )
424424{
425425fprintf (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 ,
427427old_cluster .dbarr .dbs [dbnum ].db_oid );
428428}
429429}
@@ -434,7 +434,7 @@ create_script_for_old_cluster_deletion(
434434 * or a version-specific subdirectory.
435435 */
436436fprintf (script ,RMDIR_CMD " %s%s\n" ,
437- os_info .tablespaces [tblnum ],old_cluster .tablespace_suffix );
437+ os_info .tablespaces [tblnum ],old_cluster .tablespace_suffix );
438438}
439439
440440fclose (script );
@@ -450,7 +450,7 @@ create_script_for_old_cluster_deletion(
450450
451451
452452/*
453- * check_for_isn_and_int8_passing_mismatch()
453+ *check_for_isn_and_int8_passing_mismatch()
454454 *
455455 */contrib/isn relies on data type int8, and in 8.4 int8 can now be passed
456456 *by value. The schema dumps the CREATE TYPE PASSEDBYVALUE setting so
@@ -547,7 +547,7 @@ check_for_isn_and_int8_passing_mismatch(Cluster whichCluster)
547547 *pg_type.oid
548548 *pg_enum.oid
549549 *
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
551551 *not preserved, and hence these data types cannot be used in user
552552 *tables upgraded by pg_upgrade.
553553 */
@@ -585,13 +585,13 @@ check_for_reg_data_type_usage(Cluster whichCluster)
585585"WHEREc.oid = a.attrelid AND "
586586"NOT a.attisdropped AND "
587587"a.atttypid IN ( "
588- "'pg_catalog.regproc'::pg_catalog.regtype, "
588+ "'pg_catalog.regproc'::pg_catalog.regtype, "
589589"'pg_catalog.regprocedure'::pg_catalog.regtype, "
590- "'pg_catalog.regoper'::pg_catalog.regtype, "
590+ "'pg_catalog.regoper'::pg_catalog.regtype, "
591591"'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, "
595595"'pg_catalog.regdictionary'::pg_catalog.regtype) AND "
596596"c.relnamespace = n.oid AND "
597597"n.nspname != 'pg_catalog' AND "