X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6F3709DC840 for ; Fri, 24 Feb 2006 03:14:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66970-03 for ; Fri, 24 Feb 2006 03:14:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 76D5B9DC83C for ; Fri, 24 Feb 2006 03:14:37 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k1O7ETou070244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 24 Feb 2006 00:14:31 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k1O7ESxu005174; Fri, 24 Feb 2006 00:14:28 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k1O7ESQQ005137; Fri, 24 Feb 2006 00:14:28 -0700 (MST) (envelope-from mfuhr) Date: Fri, 24 Feb 2006 00:14:28 -0700 From: Michael Fuhr To: sandhya Cc: Postgres Subject: Re: large object unlinking Message-ID: <20060224071428.GA78523@winnie.fuhr.org> References: <00ce01c6384e$68e3c540$cd00000a@sandhyar> <20060223152838.GA36720@winnie.fuhr.org> <013d01c6390b$73cf5970$cd00000a@sandhyar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <013d01c6390b$73cf5970$cd00000a@sandhyar> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.122 required=5 tests=[AWL=0.122] X-Spam-Score: 0.122 X-Spam-Level: X-Archive-Number: 200602/307 X-Sequence-Number: 20728 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