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 5CF2611F6233 for ; Tue, 25 Apr 2006 09:42:33 -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 09474-02 for ; Tue, 25 Apr 2006 09:42:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by postgresql.org (Postfix) with ESMTP id E0E6011F6109 for ; Tue, 25 Apr 2006 09:42:20 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1FYMrz3cgT-0008MN; Tue, 25 Apr 2006 14:42:20 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1FYMry-00009F-00 for pgsql-sql@postgresql.org; Tue, 25 Apr 2006 14:42:18 +0200 Date: Tue, 25 Apr 2006 14:42:18 +0200 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: SELECTing into usertype, how to do it? Message-ID: <20060425124218.GK20325@webserv.wug-glas.de> Mail-Followup-To: "A. Kretschmer" , pgsql-sql@postgresql.org References: <1145966587.8822.5.camel@localhost.localdomain> <20060425122104.GJ20325@webserv.wug-glas.de> <1145967950.8822.7.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1145967950.8822.7.camel@localhost.localdomain> X-DEST: 208 X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org User-Agent: mutt-ng 1.5.9i (Linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/173 X-Sequence-Number: 24982 am 25.04.2006, um 14:25:50 +0200 mailte Mario Splivalo folgendes: > > > > select into type_var col_a, col_b from table_a ... ; > > > > Thnx... still, that SELECT INTO looks pretty anoying... it would be neat > to type just: > type_var := col_a, col_b FROM ... well-nigh: type_var := (col_a, col_b) FROM ... Andreas -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47215, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net === Schollglas Unternehmensgruppe ===