diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-08-08 15:17:11 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-08-08 15:17:11 -0400 |
commit | 28b953f26343105ebf3a1a212092e2c3c0bb0914 (patch) | |
tree | 07b53a0bfa6b309e11da6baf70db0121d89fa350 /src/backend/utils/misc/tzparser.c | |
parent | a7bf3e66852743503eb32cb38d93c0740dcca00a (diff) |
Refactor error messages to reduce duplication
I also took the liberty of changing
errmsg("COPY DEFAULT only available using COPY FROM")
to
errmsg("COPY %s cannot be used with %s", "DEFAULT", "COPY TO")
because the original wording is unlike all other messages that indicate
option incompatibility. This message was added by commit 9f8377f7a279
(16-era), in whose development thread there was no discussion on this
point.
Backpatch to 17.
Diffstat (limited to 'src/backend/utils/misc/tzparser.c')
0 files changed, 0 insertions, 0 deletions