pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rob stone <floriparob@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: pg_prepared_statements
Date: Tue, 21 Jan 2020 14:00:28 +1100
Message-ID: <2fb481e6017498dd084876bb98f106da575eb604.camel@gmail.com> (raw)

Hello,

PostgreSQL 11.6 (Debian 11.6-2~sid1) on x86_64-pc-linux-gnu, compiled
by gcc (Debian 9.2.1-21) 9.2.1 20191130, 64-bit

Is there something awry with the pg_prepared_statements view?
This is the only row found and it is NOT created by the application.

name	statement	prepare_time		parameter_types	from_sql
S_1	ROLLBACK	2020-01-21 12:35:35.031257	{}	false


In the development environment every statement is logged, however for
some reason the DEALLOCATE's never appear in the logs. This could be
caused by the view not recording the prepared statement, as the
DEALLOCATE is only made if the prepared statement name exists in the
view. 

max_prepared_transactions = 6 is the value set in postgresql.conf.


TIA,
Robert







view thread (3+ messages)  latest in thread

Message-ID: <2fb481e6017498dd084876bb98f106da575eb604.camel@gmail.com>
Permalink:  ../2fb481e6017498dd084876bb98f106da575eb604.camel@gmail.com/
Also on:    postgresql.org/message-id/2fb481e6017498dd084876bb98f106da575eb604.camel@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: floriparob@gmail.com
  Subject: Re: pg_prepared_statements
  In-Reply-To: <2fb481e6017498dd084876bb98f106da575eb604.camel@gmail.com>
  References: <2fb481e6017498dd084876bb98f106da575eb604.camel@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