pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: sandhya <sandhyar@amiindia.co.in>
Cc: Postgres <pgsql-admin@postgresql.org>
Subject: Re: large object unlinking
Date: Fri, 24 Feb 2006 00:14:28 -0700
Message-ID: <20060224071428.GA78523@winnie.fuhr.org> (raw)
In-Reply-To: <013d01c6390b$73cf5970$cd00000a@sandhyar>
References: <00ce01c6384e$68e3c540$cd00000a@sandhyar>
	<20060223152838.GA36720@winnie.fuhr.org>
	<013d01c6390b$73cf5970$cd00000a@sandhyar>

On Fri, Feb 24, 2006 at 11:57:57AM +0530, sandhya wrote:
> In select lo_unlink(objid) from (select distinct objid from filetbl)AS s;
> the above query what is that 'S' stands for in AS 'S'

"s" is a table alias, which is required for a subquery.  The choice
of "s" is arbitrary; it can be any valid label.

http://www.postgresql.org/docs/8.1/interactive/queries-table-expressions.html#QUERIES-SUBQUERIES

-- 
Michael Fuhr



view thread (4+ messages)

Message-ID: <20060224071428.GA78523@winnie.fuhr.org>
Permalink:  ../20060224071428.GA78523@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20060224071428.GA78523@winnie.fuhr.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, sandhyar@amiindia.co.in
  Subject: Re: large object unlinking
  In-Reply-To: <20060224071428.GA78523@winnie.fuhr.org>
  References: <00ce01c6384e$68e3c540$cd00000a@sandhyar> <20060223152838.GA36720@winnie.fuhr.org> <013d01c6390b$73cf5970$cd00000a@sandhyar> <20060224071428.GA78523@winnie.fuhr.org>

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

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