pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolas Bazin <nbazin@ingenico.com.au>
To: pgsql-interfaces@postgresql.org
Cc: Michael Meskes <meskes@postgresql.org>
Subject: implementation of SET LOCK MODE TO [WAIT [seconds] | NOT WAIT] for ecpq
Date: Mon, 22 Apr 2002 12:16:46 +1000
Message-ID: <005b01c1e9a3$c0a6ea30$660d090a@software.ingenico.com.au> (raw)

I need to avoid my process to wait for too long. This syntax is not supported by the BE so I thought I would modify ECPGexecute to use asynchronous functions instead of PQexec. The problem is the NOT WAIT mode which needs some sort of info from the BE to know whether the statement has immediatly started to be executed or is in a queue waiting for its turn.
Any idea or comment on this feature?

Message-ID: <005b01c1e9a3$c0a6ea30$660d090a@software.ingenico.com.au>
Permalink:  ../005b01c1e9a3$c0a6ea30$660d090a@software.ingenico.com.au/
Also on:    postgresql.org/message-id/005b01c1e9a3$c0a6ea30$660d090a@software.ingenico.com.au

 · 

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: nbazin@ingenico.com.au, meskes@postgresql.org
  Subject: Re: implementation of SET LOCK MODE TO [WAIT [seconds] | NOT WAIT] for ecpq
  In-Reply-To: <005b01c1e9a3$c0a6ea30$660d090a@software.ingenico.com.au>

* 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