Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1itjmT-0001YZ-Ug for pgsql-general@arkaria.postgresql.org; Tue, 21 Jan 2020 03:00:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1itjmS-0004so-OR for pgsql-general@arkaria.postgresql.org; Tue, 21 Jan 2020 03:00:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1itjmS-0004sh-An for pgsql-general@lists.postgresql.org; Tue, 21 Jan 2020 03:00:40 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1itjmM-0007hk-MC for pgsql-general@lists.postgresql.org; Tue, 21 Jan 2020 03:00:39 +0000 Received: by mail-pf1-x442.google.com with SMTP id 2so686876pfg.12 for ; Mon, 20 Jan 2020 19:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:user-agent:mime-version :content-transfer-encoding; bh=bnqK4yYvFxKNBQpTUh8yH7ywoUzTqXNlaERZ5hpZqLo=; b=Z8zGJAUbOMq6O14F8RxH6WzHFr8e/7bdkukZQVjsaTo4pTyeIQBz0iUcapIdb+DIHf 4tot+g06vBt7SUJm+YX7PV2qMw/eujZK5R6jTIiBtVjeRCiuc5eMvQrRQSU0ObJTuxxZ F/Tq/tmOx7DBYzGAg7zBddNXy6t5ZYJpZnEnF16OeIt4zA4H/vdXznSBQRQ+CUToGea2 /zZ0it9hQxDoo6vE81COK6N5n7K+ja8mO1ApnBXfUdQhdmm4Z0Kz7oLV0tAddDup1/nA 7RIkr8UJJpsAaqdjwK/1pGRKzRTICiCOTdzZ1ld4hYvrHgK55hU2fekbTaghdOf3NQGD VXQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:user-agent :mime-version:content-transfer-encoding; bh=bnqK4yYvFxKNBQpTUh8yH7ywoUzTqXNlaERZ5hpZqLo=; b=E2q6cwtPT6xWUK7uLDPR5olw7kkL6yxeIAfaefq/gq14F3zulIvWlEmA8VkCTSncde 8CF5tbH6aJU2c1jjzf8oA5AAycA+Iue0RwHfMXnbe8KIXd/oQymbpZ0FrWikqU4/bXoQ 5YmK/f/2rnciFx8/aS4X4s6n/SP7aWIQlSHK/7JsHdAEeyFXtTGku1/rvnd5nYsDtqvP xlsiuMFEPES5skfpxr6w7IMDL85sQPJo7/jFzEADkpg+GJ7BdBVH6JvlN0SvfGVQYTLa sJiTbPFk1BQEmlU6LYz7qTVERvshgsHRrRh1RsJ88W3SFXHeN1YwHinOMxCdbwkkt6g+ WClQ== X-Gm-Message-State: APjAAAU5KBXS4pjJfv4u8cPprfcIZg9uaZmf+bkT6bw0wPMQUhoct4f0 AJAF6VDJ75ikS3WeZc8K/gvNjh5r X-Google-Smtp-Source: APXvYqxJ8WcbbxTBwlu5cceyQaPiNCndnr58bJaxxf1GD9zviYwKoRkLwViJO3D21bAD5alGk7BVgA== X-Received: by 2002:a62:be12:: with SMTP id l18mr2412731pff.226.1579575632983; Mon, 20 Jan 2020 19:00:32 -0800 (PST) Received: from 192-168-1-101.tpgi.com.au (194-193-56-193.tpgi.com.au. [194.193.56.193]) by smtp.gmail.com with ESMTPSA id h128sm41874236pfe.172.2020.01.20.19.00.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 19:00:32 -0800 (PST) Message-ID: <2fb481e6017498dd084876bb98f106da575eb604.camel@gmail.com> Subject: pg_prepared_statements From: rob stone To: pgsql-general@lists.postgresql.org Date: Tue, 21 Jan 2020 14:00:28 +1100 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.1-2+b1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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