Adjust assorted hint messages that list all valid options.
Peter Eisentraut <peter@eisentraut.org>
Adjust assorted hint messages that list all valid options. Instead of listing all valid options, we now try to provide one that looks similar. Since this may be useful elsewhere, this change introduces a new set of functions that can be reused for similar purposes. Author: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/b1f9f399-3a1a-b554-283f-4ae7f34608e2@enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/dblink/dblink.c | modified | +16 −11 |
| contrib/dblink/expected/dblink.out | modified | +0 −1 |
| contrib/file_fdw/expected/file_fdw.out | modified | +0 −2 |
| contrib/file_fdw/file_fdw.c | modified | +15 −9 |
| contrib/postgres_fdw/expected/postgres_fdw.out | modified | +1 −2 |
| contrib/postgres_fdw/option.c | modified | +14 −9 |
| src/backend/foreign/foreign.c | modified | +17 −9 |
| src/backend/utils/adt/varlena.c | modified | +82 −0 |
| src/include/utils/varlena.h | modified | +12 −0 |
| src/test/regress/expected/foreign_data.out | modified | +2 −4 |
Discussion
- postgres_fdw hint messages 16 messages · 2022-08-25 → 2022-09-16