mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
pg_upgrade: adjust error output to use new database list format
Commit a524f50d0f added old_11_check_for_sql_identifier_data_type_usage(), but it did not use the clearer database error list format added to the master branch in commit 1634d36157. This commit fixes that. Backpatch-through: master
This commit is contained in:
parent
5d3500da72
commit
0c089d36e2
@ -540,7 +540,7 @@ old_11_check_for_sql_identifier_data_type_usage(ClusterInfo *cluster)
|
|||||||
strerror(errno));
|
strerror(errno));
|
||||||
if (!db_used)
|
if (!db_used)
|
||||||
{
|
{
|
||||||
fprintf(script, "Database: %s\n", active_db->db_name);
|
fprintf(script, "In database: %s\n", active_db->db_name);
|
||||||
db_used = true;
|
db_used = true;
|
||||||
}
|
}
|
||||||
fprintf(script, " %s.%s.%s\n",
|
fprintf(script, " %s.%s.%s\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user