Re: feature request

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: feature request
Дата
Msg-id 603c8f071002251422m60c08146ubb18efe69deae937@mail.gmail.com
обсуждение исходный текст
Ответ на Re: feature request  ("Omar Bettin" <o.bettin@informaticaindustriale.it>)
Ответы Re: feature request  ("Omar Bettin" <o.bettin@informaticaindustriale.it>)
Список pgsql-hackers
On Thu, Feb 25, 2010 at 5:17 PM, Omar Bettin
<o.bettin@informaticaindustriale.it> wrote:
> ...could be
> STORE WHERE [condition] FROM [table] INTO [database]

That still doesn't work, because a PostgreSQL backend doesn't have any
obvious way to access another database.  You'd need to use dblink or
something.  Eventually (but not any time soon) it will probably be
possible to do things like this, which would work for moving data
between tables in the same database:

WITH x AS (DELETE FROM ... RETURNING ...) INSERT INTO ... (...) SELECT
... FROM x

Doing anything with some OTHER database is going to require a lot more
infrastructure.

...Robert


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

Предыдущее
От: "Omar Bettin"
Дата:
Сообщение: Re: feature request
Следующее
От: "Omar Bettin"
Дата:
Сообщение: Re: feature request