diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-12-19 14:13:50 +0100 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-12-19 14:13:50 +0100 |
commit | 94415b04ed0d1f3334c413924e367b25df57f2fd (patch) | |
tree | befe0470ca726145e47867046b6d14e9238d56c1 /src/backend/executor/nodeModifyTable.c | |
parent | 7f68b14629c1ef6cf8cb60d47b76b3b570454622 (diff) | |
download | postgresql-94415b04ed0d1f3334c413924e367b25df57f2fd.tar.gz postgresql-94415b04ed0d1f3334c413924e367b25df57f2fd.zip |
doc: Fix syntax in ALTER FOREIGN DATA WRAPPER example
The example for dropping an option was incorrectly quoting the
option key thus making it a value turning the command into an
unqualified ADD operation. The result of dropping became adding
a new key/value pair instead:
d=# alter foreign data wrapper f options (drop 'b');
ALTER FOREIGN DATA WRAPPER
d=# select fdwoptions from pg_foreign_data_wrapper where fdwname='f';
fdwoptions
------------
{drop=b}
(1 row)
This has been incorrect for a long time so backpatch to all
supported branches.
Author: Tim <tim.needham2@gmail.com>
Discussion: https://postgr.es/m/170292280173.1876505.5204623074024041738@wrigleys.postgresql.org
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions