|
|
|
@ -14,7 +14,7 @@ |
|
|
|
* Copyright (c) 1994, Regents of the University of California |
|
|
|
* Copyright (c) 1994, Regents of the University of California |
|
|
|
* |
|
|
|
* |
|
|
|
* IDENTIFICATION |
|
|
|
* IDENTIFICATION |
|
|
|
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgenv.cc,v 1.1.1.1 1996/07/09 06:22:18 scrappy Exp $ |
|
|
|
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgenv.cc,v 1.2 1996/11/18 01:43:55 bryanh Exp $ |
|
|
|
* |
|
|
|
* |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -23,14 +23,12 @@ |
|
|
|
#include "libpq++.H" |
|
|
|
#include "libpq++.H" |
|
|
|
|
|
|
|
|
|
|
|
#define DefaultAuth DEFAULT_CLIENT_AUTHSVC |
|
|
|
#define DefaultAuth DEFAULT_CLIENT_AUTHSVC |
|
|
|
#define DefaultPort POSTPORT |
|
|
|
#define DefaultPort "5432" |
|
|
|
|
|
|
|
|
|
|
|
// default constructor for PGenv
|
|
|
|
// default constructor for PGenv
|
|
|
|
// checks the environment variables
|
|
|
|
// checks the environment variables
|
|
|
|
PGenv::PGenv() |
|
|
|
PGenv::PGenv() |
|
|
|
{ |
|
|
|
{ |
|
|
|
char* temp; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pgauth = NULL; |
|
|
|
pgauth = NULL; |
|
|
|
pghost = NULL; |
|
|
|
pghost = NULL; |
|
|
|
pgport = NULL; |
|
|
|
pgport = NULL; |
|
|
|
|