Re: SELECTing into usertype, how to do it?

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: SELECTing into usertype, how to do it?
Date: 2006-04-25 12:42:18
Message-ID: 20060425124218.GK20325@webserv.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 ===

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Markus Schaber 2006-04-25 13:13:48 Re: Migrating a Database to a new tablespace
Previous Message Mario Splivalo 2006-04-25 12:25:50 Re: SELECTing into usertype, how to do it?