Re: CommandStatus from insert returning when using a portal.

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Dave Cramer <davecramer(at)gmail(dot)com>
Cc: "chap(at)anastigmatix(dot)net" <chap(at)anastigmatix(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: CommandStatus from insert returning when using a portal.
Date: 2023-07-13 14:24:50
Message-ID: CAKFQuwaEbHUz7vGYe++J=kevZ0hSsCSMpLLwRiqy9tB=pH8D8Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thursday, July 13, 2023, Dave Cramer <davecramer(at)gmail(dot)com> wrote:

>
> Any comment on why the CommandComplete is incorrect ?
> It returns INSERT 0 0 if a cursor is used
>

Looking at DECLARE it is surprising that what you describe is even
possible. Can you share a psql reproducer?

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Önder Kalacı 2023-07-13 14:37:42 Re: [Patch] Use *other* indexes on the subscriber when REPLICA IDENTITY is FULL
Previous Message Ashutosh Bapat 2023-07-13 14:24:36 Re: logical decoding and replication of sequences, take 2