Re: SELECTing into usertype, how to do it? - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: SELECTing into usertype, how to do it?
Date
Msg-id 20060425124218.GK20325@webserv.wug-glas.de
Whole thread Raw
In response to Re: SELECTing into usertype, how to do it?  (Mario Splivalo <mario.splivalo@mobart.hr>)
List pgsql-sql
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    === 


pgsql-sql by date:

Previous
From: Mario Splivalo
Date:
Subject: Re: SELECTing into usertype, how to do it?
Next
From: Markus Schaber
Date:
Subject: Re: Migrating a Database to a new tablespace