[gnome-db] Patch for fixing connection problem in postgresql provider
- From: "David Marín Carreño" <david aspl es>
- To: <gnome-db-list gnome org>
- Subject: [gnome-db] Patch for fixing connection problem in postgresql provider
- Date: Sat, 15 Feb 2003 12:49:11 +0100 (CET)
I have found a little bug while connecting to databases using gda
postgresql provider, when providing the user and password in the
gda_client_open_connection call: gda didn't give the supplied password to
postgres, and it cannot connect.
The bug is in line 400 in gda-postgres-provider.c
400c400
< if (!pq_pwd || pq_pwd != '\0')
---
> if (!password || *password == '\0')
Now it works perfectly.
Greetings.
--
David Marín Carreño <david aspl es>
Advanced Software Production Line, S.L.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]