mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
From: Edmund Mergl <E.Mergl@bawue.de>
Subject: [PATCHES] libpq patch Hi, here is a small patch which fixes two problems: 1. libpq/libpq-fe.h: somehow disappeared the line #define DefaultOption "" now compilation stops with an error complainig an unknown DefaultOption (970508). 2. Same patch as I sent already twice, but it never made it into the source tree: there is no default value for AuthType and Password. This way any libpq-application (i.e. perl-scripts) which use the function PQconnectdb will break with PostgreSQL-6.1. The patch simply uses an empty string as default value.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: libpq-fe.h,v 1.18 1997/03/12 21:23:16 scrappy Exp $
|
||||
* $Id: libpq-fe.h,v 1.19 1997/05/09 03:28:54 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -301,6 +301,9 @@ int lo_export(PGconn *conn, Oid lobjId, char *filename);
|
||||
#define DefaultHost "localhost"
|
||||
#define DefaultTty ""
|
||||
#define DefaultOption ""
|
||||
#define DefaultAuthtype ""
|
||||
#define DefaultPassword ""
|
||||
|
||||
|
||||
typedef void *TUPLE;
|
||||
#define palloc malloc
|
||||
|
Reference in New Issue
Block a user