pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Om Prakash Jaiswal <op12om@yahoo.co.in>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Request for example using pqconnectstart,pqconnectpoll part.
Date: Thu, 4 Feb 2021 15:27:17 +0000 (UTC)
Message-ID: <1275164188.2095748.1612452437482@mail.yahoo.com> (raw)
References: <1275164188.2095748.1612452437482.ref@mail.yahoo.com>

Hi,Please provide a sample example using pqconnectstart , pqconnectpoll to make  a asynchronous connection and executing a query for client application in C.It is part of 
libpq - C Library.
I am able to do query using PQconnectdb and PQexec.I have also used PQconnectdb and PQsendQuery.  PQconnectdb is blocking call, now I want to replace PQconnectdb with non blocking connection pqconnectstart and pqconnectpoll.
Please provide an example.


Thanks in advance.
RegardsOm PrakashDBA, Bangalore

view thread (2+ messages)  latest in thread

Message-ID: <1275164188.2095748.1612452437482@mail.yahoo.com>
Permalink:  ../1275164188.2095748.1612452437482@mail.yahoo.com/
Also on:    postgresql.org/message-id/1275164188.2095748.1612452437482@mail.yahoo.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: op12om@yahoo.co.in
  Subject: Re: Request for example using pqconnectstart,pqconnectpoll part.
  In-Reply-To: <1275164188.2095748.1612452437482@mail.yahoo.com>
  References: <1275164188.2095748.1612452437482.ref@mail.yahoo.com> <1275164188.2095748.1612452437482@mail.yahoo.com>

* 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