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

Re: ECPG CONNECT TO DEFAULT segfault

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us,pgsql-hackers(at)postgresql(dot)org
Subject: Re: ECPG CONNECT TO DEFAULT segfault
Date: 2004-12-29 09:32:21
Message-ID: 20041229093221.GA9011@1 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
On Tue, Dec 28, 2004 at 11:15:52PM -0700, Michael Fuhr wrote:
> PostgreSQL 8.0.0rc2, 7.4.6
> Solaris 9, FreeBSD 4.11-PRERELEASE
> 
> ECPG's CONNECT TO DEFAULT causes a segmentation fault.  This
> originally came up in the "Connection without database name" thread
> in pgsql-hackers:
> ....


This is exactly what I did fix with the work mentioned in the hackers
thread. It should work nicely with CVS HEAD. Could you please try this?

BTW Tom, I just found that my problem with PGDATABASE was a local one.
It surely works, so the oracle style syntax will remain. That is you can also
write EXEC SQL CONNECT <username> to connect to the default database using the
given username.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

pgsql-hackers by date

Next:From: strkDate: 2004-12-29 10:08:28
Subject: fmgr_oldstyle calls from 8.0.0RC2 trigger
Previous:From: Tom LaneDate: 2004-12-29 07:53:19
Subject: Re: race condition for drop schema cascade?

pgsql-bugs by date

Next:From: Jean ClaudeDate: 2004-12-29 10:05:08
Subject: BUG #1363: Loose connection in idle mode
Previous:From: Michael FuhrDate: 2004-12-29 06:15:52
Subject: ECPG CONNECT TO DEFAULT segfault

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