aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2023-07-26 17:02:39 -0700
committerNathan Bossart <nathan@postgresql.org>2023-07-26 17:02:39 -0700
commit19c590f6a795831b34782a4d69fa6a52dc9d03c3 (patch)
tree9c215aa77ca5b662f8db70a7e079b5088f0a6797 /src/backend/utils/cache/syscache.c
parent03734a7fed7d924679770adb78a7db8a37d14188 (diff)
downloadpostgresql-19c590f6a795831b34782a4d69fa6a52dc9d03c3.tar.gz
postgresql-19c590f6a795831b34782a4d69fa6a52dc9d03c3.zip
Adjust extra lines generated by psql to be valid SQL comments.
psql's --echo-hidden, --log-file, and --single-step options generate extra lines to clearly separate queries from other output. Presently, these extra lines are not valid SQL comments, which makes them a hazard for anyone trying to copy/paste the decorated queries into a client or query editor. This commit replaces the starting and ending asterisks in these extra lines with forward slashes so that they are valid SQL comments that can be copy/pasted without incident. Author: Kirk Wolak Reviewed-by: Pavel Stehule, Laurenz Albe, Tom Lane, Alvaro Herrera, Andrey Borodin Discussion: https://postgr.es/m/CACLU5mTFJRJYtbvmZ26txGgmXWQo0hkGhH2o3hEquUPmSbGtBw%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
0 files changed, 0 insertions, 0 deletions