Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g0tVW-0002l1-NR for pgsql-general@arkaria.postgresql.org; Fri, 14 Sep 2018 19:11:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g0tVV-0003LD-2F for pgsql-general@arkaria.postgresql.org; Fri, 14 Sep 2018 19:11:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g0tVU-0003Kz-KW for pgsql-general@lists.postgresql.org; Fri, 14 Sep 2018 19:11:56 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g0tVR-0002B5-P9 for pgsql-general@postgresql.org; Fri, 14 Sep 2018 19:11:55 +0000 Received: by mail-lj1-x233.google.com with SMTP id q127-v6so8369831ljq.11 for ; Fri, 14 Sep 2018 12:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dEpTfzRv4c1QMoToyLiiMlbDooSL1dndPqnyE47XqVo=; b=Zuo+9k2+HO/KR9slApv6QG7uXmeK3S6muB0Tx8QGOJscgkt5G9s9Pu0f2AXUm9SnlK 7DQmbcZ8jpLIQQ9jQHZ1TlutoKnkNvZ+kNrSdSanBQpHnj3Mz2dmGHWdQEryHJ5NzRCA fBQRDv9HZFeRJinO26UoztA7T/POz17vze0LRTdBWqi/vOAOVMlkhSRK7lLZGx7udz/T tGSNgSTwOTq4/CUu2rTaAsKTlLxLPxUH1EXCwOCa6VObgluWKjBBSYRcflXlD0UTrFFE M1aKAhDQ8O3/i3obZR3fXBqgUHC1BRcjVkw9JJlwH6ywZv1Eyka8gYVPdJMDGmjhwfbt 5dhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dEpTfzRv4c1QMoToyLiiMlbDooSL1dndPqnyE47XqVo=; b=m/hegOoOdcPH+ki5Y2oeUcdUYcu88bEdL0klNasOBZ9Tgtg2JtJJ81v722Tif60DXl g+eY1tITZYld+R1XzZSRgBmIQyv3J//wf5bGBhY1AFZ6LC2bWAx3ttZznbVFn5EsEY85 NBIq66EHPlclxU3I1xZ/wmxJo1vOsIvIyKGkm7l0P9/gjUo7z1640HTkkuIjEcEuCKa7 fbXEdv/TbfXV0qeJ8uNcFT+YAtJHvmJqSyETiWucOkok28A9DbJa88MXiSjtRpLTU1mE xJSEM6boo/cBcVFPvOlN+6takHpeWKM9TdeLKhiJg5SsAKC1sbxjEkAdVQw+G4MmoRTO n3NQ== X-Gm-Message-State: APzg51COIeJp8HR0qYHhd/jwClQGKCtBFQcjteTg5g+EqsLq3YxSEBgE nzQ3V4dGRYybbE5syTT7VJacP0FMx8V+EfdxqcMZvnIm X-Google-Smtp-Source: ANB0VdazlnwJCdAIW5FrNV6HkpSBjxtTT6TKTTNwkYog6i4IUHY1hSlMCFhRnS9URzl9Fu5L3g/xcruZGGobnYt6bJ0= X-Received: by 2002:a2e:800e:: with SMTP id j14-v6mr8570229ljg.114.1536952310802; Fri, 14 Sep 2018 12:11:50 -0700 (PDT) MIME-Version: 1.0 From: ik Date: Fri, 14 Sep 2018 22:11:13 +0300 Message-ID: Subject: Query act different when doing by hand and by using a driver in app To: pgsql-general@postgresql.org Content-Type: multipart/alternative; boundary="00000000000085b0450575d9987f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000085b0450575d9987f Content-Type: text/plain; charset="UTF-8" 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 --00000000000085b0450575d9987f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Not su= re 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 retur= ns, but when I execute the same query with the same conditions, I get the r= ight 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 "sel= ect" query that I iterate over.

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

Thank you
Ido
--00000000000085b0450575d9987f--