Обсуждение: Re: [BUGS] ECPG CONNECT TO DEFAULT segfault

Поиск
Список
Период
Сортировка

Re: [BUGS] ECPG CONNECT TO DEFAULT segfault

От
Michael Meskes
Дата:
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@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


Re: [BUGS] ECPG CONNECT TO DEFAULT segfault

От
Michael Fuhr
Дата:
On Wed, Dec 29, 2004 at 10:32:21AM +0100, Michael Meskes wrote:
> On Tue, Dec 28, 2004 at 11:15:52PM -0700, Michael Fuhr wrote:
> > 
> > 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?

Try what?  I don't see a patch, link, or suggested fix in the
thread -- just your original message and the two followups by
Tom Lane and me.  Or was the fix discussed in a different thread?

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


Re: [BUGS] ECPG CONNECT TO DEFAULT segfault

От
Michael Meskes
Дата:
Zitat von Michael Fuhr <mike@fuhr.org>:

>> 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?
>
> Try what?  I don't see a patch, link, or suggested fix in the
> thread -- just your original message and the two followups by
> Tom Lane and me.  Or was the fix discussed in a different thread?

Sorry, something didn't work on my side as I thought they would. I just
noticed that I did not commit my changes. They are now. So using the cvs version
or the next release candidate should fix the problem. I'm sorry, but I do not
have a patch against 7.4 at the moment.

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