[GENERAL] libpq confusion

Поиск
Список
Период
Сортировка
От Igor Korot
Тема [GENERAL] libpq confusion
Дата
Msg-id CA+FnnTyTVohx+ENb5ub9fa_fdFzj5ftTOmUrxUhDhgKes7xmDg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] libpq confusion  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: [GENERAL] libpq confusion  (Allan Harvey <allan.harvey@libertyonesteel.com>)
Список pgsql-general
Hi, ALL,

draft=# SELECT 1 FROM abcattbl WHERE abt_tnam = 'leagues';?column?
----------
(0 rows)


However running it thru the PQexecParam() I am getting "PGRES_TUPLES_OK"
which means that the such record exist.

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


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Alex Samad
Дата:
Сообщение: [GENERAL] problem
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [GENERAL] libpq confusion