Re: TRUNCATE and CREATE TABLE LIKE for foreign tables

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: TRUNCATE and CREATE TABLE LIKE for foreign tables
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17DA7699@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на TRUNCATE and CREATE TABLE LIKE for foreign tables  (sri harsha <sriharsha9992@gmail.com>)
Список pgsql-general
sri harsha wrote:
> Is it possible to implement TRUNCATE and CREATE TABLE LIKE for a foreign table. Is there anyway i
> can write a function to implement those queries in my FDW ??

This is currently not possible, it would need an extension to the FDW API.

If you can come up with a good design, lobby for it in the hackers mailing list.

Yours,
Laurenz Albe

В списке pgsql-general по дате отправления:

Предыдущее
От: sri harsha
Дата:
Сообщение: TRUNCATE and CREATE TABLE LIKE for foreign tables
Следующее
От: Joshua Boyd
Дата:
Сообщение: Re: Postgres 9.2 PITR testing to before DROP DATABASE ends up removing file system files