mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Revise GUC names quoting in messages again
After further review, we want to move in the direction of always quoting GUC names in error messages, rather than the previous (PG16) wildly mixed practice or the intermittent (mid-PG17) idea of doing this depending on how possibly confusing the GUC name is. This commit applies appropriate quotes to (almost?) all mentions of GUC names in error messages. It partially supersedesa243569bf6and8d9978a717, which had moved things a bit in the opposite direction but which then were abandoned in a partial state. Author: Peter Smith <smithpb2250@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CAHut%2BPv-kSN8SkxSdoHano_wPubqcg5789ejhCDZAcLFceBR-w%40mail.gmail.com
This commit is contained in:
@@ -5376,7 +5376,7 @@ GetTableInfo(PGconn *con, bool scale_given)
|
||||
* This case is unlikely as pgbench already found "pgbench_branches"
|
||||
* above to compute the scale.
|
||||
*/
|
||||
pg_log_error("no pgbench_accounts table found in search_path");
|
||||
pg_log_error("no pgbench_accounts table found in \"search_path\"");
|
||||
pg_log_error_hint("Perhaps you need to do initialization (\"pgbench -i\") in database \"%s\".", PQdb(con));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user