[HACKERS] alter server for foreign table

Поиск
Список
Период
Сортировка
От Konstantin Knizhnik
Тема [HACKERS] alter server for foreign table
Дата
Msg-id bec98664-1a0b-7fa9-1c7b-e25d7e25dad0@postgrespro.ru
обсуждение исходный текст
Ответы Re: [HACKERS] alter server for foreign table
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] SendRowDescriptionMessage() is slow for queries with alot of columns
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] SQL/JSON in PostgreSQL