pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: WR <wolle321@freenet.de>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Differences in Escaped bytea's when creating a plain pg_dump
Date: Mon, 27 Jun 2022 09:21:23 +0200
Message-ID: <bfeca831-49e1-41d5-66be-2af701b54162@freenet.de> (raw)

Another strange thing is:

in my first mail I wrote: running the dump in in pgadmin works, in the 
last mail I wrote pgadmin also produces the error. I played a little bit 
how this could be happend.

Everytime ich used the following sql text in the querytool:

SET standard_conforming_strings = on;

INSERT INTO public.oned_figures VALUES (1, 'Figure_Wolle1', 476, -476, 
2000, 2400, 2400, '\000', 500, 0, 'sinus(0|0|0;30;5;0;0,5;0)', 
'2021-08-31 11:53:22.442801', 0, 1);

After each run I deleted the line with a View/Edit Data Panel of the Table.

First run worked.
Second run worked.
Then I changed to SET standard_conforming_strings = off;
Third run worked.
Fourth run throw the error
Then I changed back to  SET standard_conforming_strings = on;
Fifth run throw the error too.
And only adding E and second backslash helped.

I could reproduce this behavior everytime I close the query tool and 
opened it again.

But this looks more like a pgadmin-bug.



-- 
May the source be with you





view thread (9+ messages)  latest in thread

Message-ID: <bfeca831-49e1-41d5-66be-2af701b54162@freenet.de>
Permalink:  ../bfeca831-49e1-41d5-66be-2af701b54162@freenet.de/
Also on:    postgresql.org/message-id/bfeca831-49e1-41d5-66be-2af701b54162@freenet.de

 · 

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: wolle321@freenet.de, daniel@manitou-mail.org
  Subject: Re: Differences in Escaped bytea's when creating a plain pg_dump
  In-Reply-To: <bfeca831-49e1-41d5-66be-2af701b54162@freenet.de>
  References: <bfeca831-49e1-41d5-66be-2af701b54162@freenet.de>

* 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