Skip site navigation (1) Skip section navigation (2)

TTY debug

From: "Darko Prenosil" <darko_prenosil(at)yahoo(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: TTY debug
Date: 2001-11-21 18:41:20
Message-ID: 000c01c172bc$32b20470$ef00000a@darko (view raw or whole thread)
Lists: pgsql-interfaces
Does anyone know how to set the debug TTY in libpq client library ?
I did not find any example what to put in property pgtty:

PGconn *PQsetdbLogin(const char *pghost,
                     const char *pgport,
                     const char *pgoptions,
                     const char *pgtty,
                     const char *dbName,
                     const char *login,
                     const char *pwd)

I tried with :
but no result.

I've also tried with -o pgoption to set debug log file, but no output was written to that file.
I'm trying to debug some functions and without those two methods, it is very hard work !!!


pgsql-interfaces by date

Next:From: Peter EisentrautDate: 2001-11-21 22:12:54
Subject: Re: Cross-references (was [PATCHES] PQescapeBytea documentation
Previous:From: Joe ConwayDate: 2001-11-21 17:04:41
Subject: Re: [PATCHES] PQescapeBytea documentation patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group