pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Cramer <davecramer@postgres.rocks>
Cc: dafoer_x@163.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17728: When jdbc calls the stored procedure, portal->stmts in FillPortalStore is null, causing a processing
Date: Thu, 22 Dec 2022 23:38:15 -0500
Message-ID: <2309554.1671770295@sss.pgh.pa.us> (raw)
In-Reply-To: <CADK3HHKhf5CDXeDNT4YOjv28jNvuOUeP4o2_Hx+LyjMYhjV1-w@mail.gmail.com>
References: <17728-64af72bf9747ff0a@postgresql.org>
	<CADK3HHKhf5CDXeDNT4YOjv28jNvuOUeP4o2_Hx+LyjMYhjV1-w@mail.gmail.com>

Dave Cramer <davecramer@postgres.rocks> writes:
> On Thu, 22 Dec 2022 at 10:49, PG Bug reporting form <noreply@postgresql.org>
> wrote:
>> #0  pgss_store (query=0x2d55138 "call p1($1)",
>> queryId=16705933007615826313,
>> query_location=1702063721, query_len=1763734642, kind=PGSS_EXEC,
>> total_time=3341.1963460000002,
>> rows=0, bufusage=0x7ffc2e4ddc20, walusage=0x7ffc2e4ddcf0, jstate=0x0)
>> at pg_stat_statements.c:1225

> I just tried the same code with no issues.

This looks very much like the bug fixed by commit 495e73c20 [1].
I wonder whether the server is really 14.6, or something older,
because that fix shipped in 14.6.

			regards, tom lane

[1] https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=495e73c20





view thread (3+ messages)

Message-ID: <2309554.1671770295@sss.pgh.pa.us>
Permalink:  ../2309554.1671770295@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2309554.1671770295@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, davecramer@postgres.rocks, dafoer_x@163.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17728: When jdbc calls the stored procedure, portal->stmts in FillPortalStore is null, causing a processing
  In-Reply-To: <2309554.1671770295@sss.pgh.pa.us>

* 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