View Single Post

   
  #3 (permalink)  
Old 04-16-2008, 12:59 AM
=?ISO-8859-1?Q?Magne_M=E6hre?=
 
Posts: n/a
Default Re: Is it safe to use 8.0.14 server and 7.4 driver ?

Oliver Jowett wrote:

>> Which one of these behaviors is the right one ? Thanks in advance !

>
> Both are equally correct, I believe. I think the JDBC spec is silent
> about which column you get back if there is ambiguity.


Actually it says something about this.
"If a select list contains the same column more than once, the first
instance of the column will be returned" (JDBC3 §14.2.3 and JDBC4 §15.2.3)

--Magne

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote