Table Copy.

Поиск
Список
Период
Сортировка
От PostgreSQL Server
Тема Table Copy.
Дата
Msg-id Pine.LNX.4.44.0209191747250.31615-100000@sunrise2.radiostudiodelta.it
обсуждение исходный текст
Ответы Re: Table Copy.
Список pgsql-sql
HI!

I'm new to postgres. I need to have a table as a copy of another one.

Example:

CREATE TABLE one (       fileda INTEGER,       filedb INTEGER,       filedc INTEGER );

CREATE TABLE two (       fileda INTEGER,       filedb INTEGER,       filedc INTEGER );

As on insert to table one I should get the same insert on table two.
As on delete to table one I should get the same delete on table two.
As on update to table one I should get the same update on table two.

Can someone provide the examples i can study ?

Thanks in advance.

Alex





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

Предыдущее
От: Mathieu Arnold
Дата:
Сообщение: Re: Stripping white-space in SELECT statments
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How To Get Bytea Data Instead Of Its Oid