Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id E48272E0220 for ; Fri, 30 Nov 2007 23:33:13 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 82010-02 for ; Fri, 30 Nov 2007 23:33:00 -0400 (AST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by postgresql.org (Postfix) with ESMTP id 2D8492E01DE for ; Fri, 30 Nov 2007 23:33:08 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so3499746waf for ; Fri, 30 Nov 2007 19:33:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=akmbkFMZbe2enpEA5U8uBh09zQe/jtKET9FLxaIPwcE=; b=vroFAHljxxkzuTXd2NeVZInjaNXq09MfVL2fhG8jJHMv0xgcY3DvpOfnj1dhUXKXtNoeiAw0cmB0KBkrvvBBmtBjGlWcFouA9U7Rs7txgcmFAfIvC3oNqyIYqeeu3ELMgrqH6ybLG13rI1VMr4etgJZ3/Sv4Ji5uNja+XWhimhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gVMUL6ljTAuiMZ8oq70DsANogPtQZL27TdIelX1tXEN9XN0wDpHN4lftwyiKogCfkAJsV/1gQ2yFi7r30qGrUgb92lKULIeKqC+lZFWcOyXeXVYa08LKJS1F5/l8s0GJHcuc57Eq38ryZD/SsxdM7bBP93ZjbV7aSJtkAv0Y+3I= Received: by 10.115.107.1 with SMTP id j1mr948971wam.1196479987006; Fri, 30 Nov 2007 19:33:07 -0800 (PST) Received: by 10.114.53.7 with HTTP; Fri, 30 Nov 2007 19:33:06 -0800 (PST) Message-ID: Date: Fri, 30 Nov 2007 21:33:06 -0600 From: "Scott Marlowe" To: "Daniel Caune" Subject: Re: Using schema Cc: pgsql-sql@postgresql.org In-Reply-To: <1E293D3FF63A3740B10AD5AAD88535D2068E27F3@UBIMAIL1.ubisoft.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1E293D3FF63A3740B10AD5AAD88535D2068E27F3@UBIMAIL1.ubisoft.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/163 X-Sequence-Number: 29691 On Nov 30, 2007 9:00 AM, Daniel Caune wrote: > The cool thing with this, compared to the USE statement supported by > some other RDBMS, is that the user is not restricted to one given schema > without explicit schema declaration: > > SELECT * FROM foo; -- Uses schema my_schema > SELECT * FROM bar; -- Uses schema public > SELECT * FROM foo, bar WHERE foo.i = bar.i; -- Uses both schemas > > That is damn flexible! :-) Hehe. yeah, every time I have to use Oracle at work I feel like I'm putting on a straight jacket.