pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #15643: Problem using PGAdmin 4.2 to connect to postrgres hot standby 2+ messages / 2 participants [nested] [flat]
* BUG #15643: Problem using PGAdmin 4.2 to connect to postrgres hot standby @ 2019-02-19 20:46 PG Bug reporting form <noreply@postgresql.org> 0 siblings, 1 reply; 2+ messages in thread From: PG Bug reporting form @ 2019-02-19 20:46 UTC (permalink / raw) To: pgsql-bugs@lists.postgresql.org; +Cc: eric.katchan+postgres@concordia.ca The following bug has been logged on the website: Bug reference: 15643 Logged by: Eric Katchan Email address: eric.katchan+postgres@concordia.ca PostgreSQL version: 9.6.9 Operating system: Linux Description: 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'; Any ideas? ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15643: Problem using PGAdmin 4.2 to connect to postrgres hot standby @ 2019-02-19 21:51 Tom Lane <tgl@sss.pgh.pa.us> parent: PG Bug reporting form <noreply@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-02-19 21:51 UTC (permalink / raw) To: eric.katchan+postgres@concordia.ca; +Cc: pgsql-bugs@lists.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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-02-19 21:51 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-02-19 20:46 BUG #15643: Problem using PGAdmin 4.2 to connect to postrgres hot standby PG Bug reporting form <noreply@postgresql.org> 2019-02-19 21:51 ` Tom Lane <tgl@sss.pgh.pa.us>
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