X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 21728D9221 for ; Tue, 20 Sep 2005 00:01:14 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00805-07 for ; Tue, 20 Sep 2005 03:01:07 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 2DC81D7998 for ; Tue, 20 Sep 2005 00:01:05 -0300 (ADT) Received: (qmail 29468 invoked from network); 20 Sep 2005 03:01:04 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 20 Sep 2005 03:01:04 -0000 In-Reply-To: <1570.1127184793@sss.pgh.pa.us> References: <200509191949.j8JJnrYl002758@www.commandprompt.com> <2977.69.79.131.31.1127153306.squirrel@www.sayago.info> <3703.69.79.131.31.1127162820.squirrel@www.sayago.info> <1570.1127184793@sss.pgh.pa.us> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Kris Jurka , andres@sayago.info, pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: UPDATE with database name alias Date: Mon, 19 Sep 2005 23:01:02 -0400 To: Tom Lane X-Mailer: Apple Mail (2.734) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.26 required=5 tests=[AWL=-0.221, INFO_TLD=0.481] X-Spam-Level: X-Archive-Number: 200509/77 X-Sequence-Number: 13862 It's an option, but it's an Oracle product, chances are they would ignore it. Dave On 19-Sep-05, at 10:53 PM, Tom Lane wrote: > Kris Jurka writes: > >> On Mon, 19 Sep 2005 andres@sayago.info wrote: >> >>> JDeveloper use alias to UPDATE, an dthen, what can I do? >>> > > >> Your only option would be to ajdust the postgresql backend grammar to >> allow an alias. >> > > Isn't it an option to point out to the JDeveloper authors that they > are > emitting SQL that is illegal per spec? > > regards, tom lane > >