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 | 498ee9ee2f4bc7d79f2d91cdd817b2a8f14a664f (patch) | |
tree | 862eaa3b98e0b87a8c8cfba86702c3c7a2d80e72 /src/backend/utils/adt/ruleutils.c | |
parent | d0c8cf2a56fadb08705433bffb301559d97b0712 (diff) | |
download | postgresql-498ee9ee2f4bc7d79f2d91cdd817b2a8f14a664f.tar.gz postgresql-498ee9ee2f4bc7d79f2d91cdd817b2a8f14a664f.zip |
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/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions