Query act different when doing by hand and by using a driver in app

From: ik <idokan(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Query act different when doing by hand and by using a driver in app
Date: 2018-09-14 19:11:13
Message-ID: CAOccsKArtfKeMBkWsdsDJi7D9R8sU9JrpEBmE0QLF6maZBbkiA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Not sure that this is the right mailing list, so sorry from advance.

I have a program that when it does a query I have one raw returns, but when
I execute the same query with the same conditions, I get the right number
of rows back.

I'm using gonlang and https://github.com/jackc/pgx .
The query inside is inside an already open cursor of another "select" query
that I iterate over.

Is there a way to debug just that inside pg-logs without having all
possible queries logged in?

Thank you
Ido

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Seb 2018-09-14 19:35:20 column information from view
Previous Message Jeremy Schneider 2018-09-14 19:11:06 Re: Slow shutdowns sometimes on RDS Postgres