Query act different when doing by hand and by using a driver in app - Mailing list pgsql-general

From ik
Subject Query act different when doing by hand and by using a driver in app
Date
Msg-id CAOccsKArtfKeMBkWsdsDJi7D9R8sU9JrpEBmE0QLF6maZBbkiA@mail.gmail.com
Whole thread Raw
Responses Re: Query act different when doing by hand and by using a driver inapp
List 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

pgsql-general by date:

Previous
From: Jeremy Schneider
Date:
Subject: Re: Slow shutdowns sometimes on RDS Postgres
Next
From: Seb
Date:
Subject: column information from view