Re: ecpg Oracle compatibility issue

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Roland Karch <rdkarch(at)immd3(dot)informatik(dot)uni-erlangen(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: ecpg Oracle compatibility issue
Date: 2002-12-13 20:29:08
Message-ID: 200212132029.gBDKT8k01910@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


OK, patch applied. Thanks.

---------------------------------------------------------------------------

Roland Karch wrote:
> On Thu, Dec 12, 2002 at 04:49:30PM -0500, Bruce Momjian wrote:
> > I applied the attached patch. Your version looked like it would have
> > doubled the double-quotes.
>
> Oops - yes, I got that wrong.
>
> > As you mentioned, you couldn't get bison to
> > work, so you weren't able to test it. Please look over this patch and
> > make sure it is correct.
>
> It works fine, just got bison to work on my other computer.
>
> > Also check the other use of ECPGdisconnect().
> > Is that correct? Does it need "CURRENT"?
>
> Yes, it's needed. Supplying a NULL pointer instead results in a segfault
> for me. However, it would work if src/interfaces/ecpg/lib/connect.c line
> 468 was patched - checking for NULL before dereferencing a user-supplied
> pointer is generally a good idea.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 886 bytes

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Murthy Kambhampaty 2002-12-13 20:57:42 PostgreSQL 7.3 installation on RedHat 8.0 fails
Previous Message Roland Karch 2002-12-13 19:28:05 Re: ecpg Oracle compatibility issue