forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite52e271
committed
doc: Fix syntax in ALTER FOREIGN DATA WRAPPER example
The example for dropping an option was incorrectly quoting theoption key thus making it a value turning the command into anunqualified ADD operation. The result of dropping became addinga 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 allsupported branches.Author: Tim <tim.needham2@gmail.com>Discussion:https://postgr.es/m/170292280173.1876505.5204623074024041738@wrigleys.postgresql.org1 parent3c080fb commite52e271
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
156 |
| - | |
| 156 | + | |
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
|
0 commit comments
Comments
(0)