pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ik <idokan@gmail.com>
To: pgsql-general@postgresql.org
Subject: Query act different when doing by hand and by using a driver in app
Date: Fri, 14 Sep 2018 22:11:13 +0300
Message-ID: <CAOccsKArtfKeMBkWsdsDJi7D9R8sU9JrpEBmE0QLF6maZBbkiA@mail.gmail.com> (raw)

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

view thread (3+ messages)  latest in thread

Message-ID: <CAOccsKArtfKeMBkWsdsDJi7D9R8sU9JrpEBmE0QLF6maZBbkiA@mail.gmail.com>
Permalink:  ../CAOccsKArtfKeMBkWsdsDJi7D9R8sU9JrpEBmE0QLF6maZBbkiA@mail.gmail.com/
Also on:    postgresql.org/message-id/CAOccsKArtfKeMBkWsdsDJi7D9R8sU9JrpEBmE0QLF6maZBbkiA@mail.gmail.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: idokan@gmail.com
  Subject: Re: Query act different when doing by hand and by using a driver in app
  In-Reply-To: <CAOccsKArtfKeMBkWsdsDJi7D9R8sU9JrpEBmE0QLF6maZBbkiA@mail.gmail.com>
  References: <CAOccsKArtfKeMBkWsdsDJi7D9R8sU9JrpEBmE0QLF6maZBbkiA@mail.gmail.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