Re: CommandStatus from insert returning when using a portal.

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(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-14 01:07:39
Message-ID: CADK3HH+i=eByai0Z6UhCg9Hrd7nrBOgdh9m9bKjMVzXAjOH8Cg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 13 Jul 2023 at 10:24, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
wrote:

> 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?
>

apologies, we are using a portal, not a cursor.
Dave Cramer

>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Japin Li 2023-07-14 01:29:42 Re: Add hint message for check_log_destination()
Previous Message Andres Freund 2023-07-13 22:47:26 Re: WAL Insertion Lock Improvements