[HACKERS] alter server for foreign table - Mailing list pgsql-hackers

From Konstantin Knizhnik
Subject [HACKERS] alter server for foreign table
Date
Msg-id bec98664-1a0b-7fa9-1c7b-e25d7e25dad0@postgrespro.ru
Whole thread Raw
Responses Re: [HACKERS] alter server for foreign table
List pgsql-hackers
According to Postgresql documentation it is not possible to alter server for foreign table:

https://www.postgresql.org/docs/10/static/sql-alterforeigntable.html

But stackoverflow suggests the following hack directly updating pg_foreign_table:
https://stackoverflow.com/questions/37388756/may-i-alter-server-for-foreign-table

I wonder how safe it is and if it is so simple, why it is not support in ALTER FOREIGN TABLE statement?

Thanks in advance,
-- 
Konstantin Knizhnik
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company 

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] SendRowDescriptionMessage() is slow for queries with alot of columns
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] SQL/JSON in PostgreSQL