pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: eric.katchan+postgres@concordia.ca
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15643: Problem using PGAdmin 4.2 to connect to postrgres hot standby
Date: Tue, 19 Feb 2019 16:51:46 -0500
Message-ID: <494.1550613106@sss.pgh.pa.us> (raw)
In-Reply-To: <15643-944c1ac9f8108278@postgresql.org>
References: <15643-944c1ac9f8108278@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> I have pgAdmin 4.2 installed on my windows machine.  I am trying to connect
> to our hot standby server with pgAdmin and I get the following Error:
> ERROR: cannot execute SELECT in a read-only transaction

> My DBA has indicated that when I attempt to connect to the server I am
> attempting the following SQL:

> < 2019-02-19 14:14:04.578 EST > STATEMENT:  SET DateStyle=ISO; SET
> client_min_messages=notice;UPDATE pg_settings SET setting = 'escape'   
> WHERE name = 'bytea_output';SET client_encoding='UNICODE';

Yeah, this is a previously-reported pgAdmin bug: it shouldn't be using
that query when it doesn't yet know if the target server is read-only.
You'd have to go ask on their mailing lists as to what the timetable for
fixing it is.

			regards, tom lane




view thread (2+ messages)

Message-ID: <494.1550613106@sss.pgh.pa.us>
Permalink:  ../494.1550613106@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/494.1550613106@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 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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, eric.katchan+postgres@concordia.ca
  Subject: Re: BUG #15643: Problem using PGAdmin 4.2 to connect to postrgres hot standby
  In-Reply-To: <494.1550613106@sss.pgh.pa.us>
  References: <15643-944c1ac9f8108278@postgresql.org> <494.1550613106@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