pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: meskes@postgresql.org
To: Michael Meskes <meskes@postgresql.org>
Cc: Edmund Bacon <edmund.bacon@devstudios.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ECPG connection timeouts
Date: Sun, 23 Mar 2008 18:14:17 +0000
Message-ID: <20080323181417.kss01e5zvkkkk80c@webmail.postgresql.org> (raw)
In-Reply-To: <20080323173410.GB6560@feivel.credativ.de>
References: <ABAE5512DA3D4E4597C82947769214380138B9CB@devmail.devstudios.local>
	<20080323173410.GB6560@feivel.credativ.de>

[Answering my own email ...]

Zitat von Michael Meskes <meskes@postgresql.org>:
> However, you will notice that this doesn't work as I just found that the
> parser doesn't like the "=14" part. I will fix this in a minute.

Need to step backward a little bit. Fixing the parser was easy, but  
apparently PQsetdbLogin does not really set the option correctly.  
Before looking for the bug which might be a formatting problem in ecpg  
but appears to be a PQsetdbLogin limitation I think I better spend the  
time upgrading to use PQconnectDB instead.

BTW shouldn't setting PGOPTIONS (?) accordingly work too? Not sure  
after seeing PQsetdbLogin fail.

Michael





view thread (3+ messages)

Message-ID: <20080323181417.kss01e5zvkkkk80c@webmail.postgresql.org>
Permalink:  ../20080323181417.kss01e5zvkkkk80c@webmail.postgresql.org/
Also on:    postgresql.org/message-id/20080323181417.kss01e5zvkkkk80c@webmail.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org, edmund.bacon@devstudios.com
  Subject: Re: ECPG connection timeouts
  In-Reply-To: <20080323181417.kss01e5zvkkkk80c@webmail.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox