Search Postgresql Archives

inherit table and its data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi All,
I am using PostgreSQL 8.2, and I am interested in creating a table B that inherits table A, but with all it's data! 

create table B {a int} inherits A, just adds the structure of table A, not its data. 

Is it possible to do this without the classic way - trigger on table A so each insert/update is done also in B, or it's not possible without triggers.

thanks, Dilyan



      

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux