Martin Pihlak wrote:
>> I would call it something like
>>
>> pg_postgresql_fdw_options_string(server, user) returns text
>
> Hmm, it is probably a good idea to avoid the fdw abbreviation -- the term
> "foreign data wrapper" is already confusing enough. My suggestion:
>
> pg_foreign_server_conninfo(server)
> pg_foreign_server_conninfo(server,user)
>
> If there are no objections, I'll whack those functions out, and bring the dblink
> patch up to date.
Sure, propose some code. (Note that you can use parameter default
values now.)