postgresql/doc
Daniel Gustafsson e52e271b23 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
2023-12-19 14:13:50 +01:00
..
src doc: Fix syntax in ALTER FOREIGN DATA WRAPPER example 2023-12-19 14:13:50 +01:00
KNOWN_BUGS
MISSING_FEATURES
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
TODO Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00