public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]>
Cc: PostgreSQL-documentation <[email protected]>
Subject: Re: Undocumented trick in SELECT?
Date: Sun, 04 Apr 2010 12:26:17 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

=?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]> writes:
> I'm sorry, but I have not found such construction into documentation:
> SELECT tablename FROM tablename;

It's a whole-row variable.  These aren't terribly well documented but you
can find descriptions of them in places.  It's not standard SQL --- I
think we inherited it from PostQUEL and kept it because functions on
composite types don't work very well without composite variables.

			regards, tom lane




view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Undocumented trick in SELECT?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox