Improve the HINT message of the ALTER command for postgres_fdw - Mailing list pgsql-hackers

From bt21masumurak
Subject Improve the HINT message of the ALTER command for postgres_fdw
Date
Msg-id 557d06cebe19081bfcc83ee2affc98d3@oss.nttdata.com
Whole thread Raw
Responses Re: Improve the HINT message of the ALTER command for postgres_fdw
List pgsql-hackers
Hi

When 'ALTER FOREIGN DATA WRAPPER OPTIONS' is executed against 
postgres_fdw, the HINT message is printed as shown below, even though 
there are no valid options in this context.

=# ALTER FOREIGN DATA WRAPPER postgres_fdw OPTIONS (format 'csv');
ERROR: invalid option "format"
HINT: Valid options in this context are:

I made a patch for this problem.


regards,
Kosei Masumura
Attachment

pgsql-hackers by date:

Previous
From: "osumi.takamichi@fujitsu.com"
Date:
Subject: RE: Skipping logical replication transactions on subscriber side
Next
From: Daniel Gustafsson
Date:
Subject: Re: More business with $Test::Builder::Level in the TAP tests