Search Postgresql Archives

Inserting a record data type into a table

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

 



Hiya
	Is it possible to insert a record data type into a table, or am I going
to have to refer to each attribute individually in an insert?

what I would like to be able to do is simply

INSERT INTO newtable VALUES (NEW);

and have the whole NEW record in a trigger inserted into the new table.

Thanks

-- 
-----
Graeme Hinchliffe (BSc)
Core Systems Designer
Zen Internet (http://www.zen.co.uk/)

Direct: 0845 058 9074
Main  : 0845 058 9000
Fax   : 0845 058 9005

Attachment: signature.asc
Description: This is a digitally signed message part


[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