From: | Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com> |
---|---|
To: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
Cc: | PostgreSQL Hackers ML <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql 9.1 alpha5: connection pointer is NULL |
Date: | 2011-04-02 18:56:09 |
Message-ID: | BANLkTikKKWdM7N8_JawTAs6aFukkn-d5iQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2011/4/2 Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>:
>
> I'm getting the following message after upgrading to Alpha5 on my Fedora
> 14 box:
>
> $ psql -p 5433
> psql: connection pointer is NULL
>
> which comes from libpq. Server is running, and I can connect it to via
> 9.0's psql.
>
> This is a regular RPM build. Am I doing something wrong, or?
I couldn't reproduce this (using upstream source on Ubuntu). However,
I did find a little bug in libpq causing the connection handle to
become NULL in the event of an option parsing error. This bug has
been around since release 9.0.0, and may be unrelated to the problem.
Joey Adams
Attachment | Content-Type | Size |
---|---|---|
PQconnectStartParams-fix-return-false.patch | text/x-patch | 730 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-04-02 18:59:01 | Re: Another swing at JSON |
Previous Message | Tom Lane | 2011-04-02 18:53:00 | Re: Another swing at JSON |