This annoys developers who are working on libpq connection options, because any option added, removed, or changed causes this test to need to be updated.
It's also questionable how useful this hint is in its current form, considering how long it is and that the options are in an implementation-dependent order.
Thanks Peter, for looking at that; this HINT message is growing over time.
In my opinion, we should hide the complete message in case of an invalid option. But
try to show dependent options; for example, if someone specify "sslcrl" and that option
require some more options, then show the HINT of that options.
Possible changes:
- Hide the hint from this particular test (done in the attached patches).
- Keep the hint, but maybe make it sorted?
- Remove all the hints like this from foreign data commands.
- Don't show the hint when there are more than N valid options.
- Do some kind of "did you mean" like we have for column names.