X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 749C611F60E3 for ; Thu, 27 Apr 2006 13:34:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 67073-08 for ; Thu, 27 Apr 2006 13:34:29 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 0EF3611F60A2 for ; Thu, 27 Apr 2006 13:34:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k3RGYPMi012064; Thu, 27 Apr 2006 12:34:25 -0400 (EDT) To: mario.splivalo@mobart.hr cc: pgsql-sql@postgresql.org Subject: Re: INSERTing values from usertypes how-to? In-reply-to: <1146152613.19362.11.camel@localhost.localdomain> References: <1146152613.19362.11.camel@localhost.localdomain> Comments: In-reply-to Mario Splivalo message dated "Thu, 27 Apr 2006 17:43:32 +0200" Date: Thu, 27 Apr 2006 12:34:25 -0400 Message-ID: <12063.1146155665@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/195 X-Sequence-Number: 25004 Mario Splivalo writes: > Comming back after SELECTing into usertypes, is there a nice way to > insert data into table from usertype, in a nice way? Try insert into tblA values (insert_tblA.*); This works in CVS HEAD at least, not sure how far back. regards, tom lane