Re: Column defaults for foreign tables (was Re: [v9.3] writable foreign tables)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Column defaults for foreign tables (was Re: [v9.3] writable foreign tables)
Дата
Msg-id 9848.1363219149@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Column defaults for foreign tables (was Re: [v9.3] writable foreign tables)  (Thom Brown <thom@linux.com>)
Список pgsql-hackers
Thom Brown <thom@linux.com> writes:
> How about:

> CREATE FOREIGN TABLE tablename (id int DEFAULT PASSTHROUGH) SERVER pg_server;

> That way it will pass DEFAULT through to the remote table as it's
> defined on the table.  Users can then explicitly insert values, or
> select the default, which will configured to ensure the default on the
> remote server is used... although I suspect I'm overlooking something
> here.

Yeah ... how to implement it.
        regards, tom lane



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Using indexes for partial index builds
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Temporal features in PostgreSQL