Skip site navigation (1) Skip section navigation (2)

Using boolean '1' in jdbc2

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Using boolean '1' in jdbc2
Date: 2001-09-13 16:52:00
Message-ID: 200109131652.f8DGq0o25357@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-jdbc
I noticed that jdbc1 getBoolean allows '1', while jdbc2 does not.  The
following patch makes jdbc2 accept '1' also.  Is this OK?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Responses

pgsql-jdbc by date

Next:From: Glenn R. KronschnablDate: 2001-09-13 17:17:24
Subject: [Fwd: Re: A Bug Fix - Is this a real bug? Has this alreadybeen fixed?]
Previous:From: Palle GirgensohnDate: 2001-09-13 15:34:44
Subject: Re: SocketException on connect, busy server

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group