Re: libpq confusion

From: Allan Harvey <allan(dot)harvey(at)libertyonesteel(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: libpq confusion
Date: 2017-09-20 04:20:28
Message-ID: B25A2A1F79570045813EE68917222A20B207BE50@HSTMBX02.onesteel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>How do I properly check if the record exists from libpq?

Igor,
I use PQntuples() to check the number of ... tuples, for > 0

Allan

______________________________________________________________________
This e-mail message may contain confidential or legally privileged information and is only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. GFG Alliance Australia and its related bodies corporate and the sender are not responsible for errors or omissions in this message and deny any responsibility for any damage arising from the use of this e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company. All and any rights as to confidentiality, legal professional privilege and copyright are expressly reserved.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Job 2017-09-20 05:42:12 R: Insert large number of records
Previous Message Pavel Stehule 2017-09-20 04:14:10 Re: libpq confusion