Re: plpgsql mixing variable in SELECT INTO ? - Mailing list pgsql-general

From Jean-Luc Lachance
Subject Re: plpgsql mixing variable in SELECT INTO ?
Date
Msg-id 3E6504D5.46B48790@nsd.ca
Whole thread Raw
In response to plpgsql mixing variable in SELECT INTO ?  ("Ben-Nes Michael" <miki@canaan.co.il>)
List pgsql-general
Maybe he is looking at a shorthand for assigning a row variable to an
other...



Tom Lane wrote:
>
> "Ben-Nes Michael" <miki@canaan.co.il> writes:
> > You mean I cant use the full power of the SELECT as mentioned in the manual
> > and when using SELECT INTO I must use * and I can refine my query to some of
> > the fields ?
>
> Certainly you can.  But when you assign into a row variable, you have to
> provide all the row variable's columns, in order.  How else would you
> expect it to work?
>
> > Also its quite strange that my code worked in 7.3.1-
>
> I don't believe it.
>
>                         regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

pgsql-general by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Mailing lists still points to a non-existent page
Next
From: reece@in-machina.com
Date:
Subject: psql \pset pager always for 7.3.2 (patch)