Re: decode/encode backslash to base64 - Mailing list pgsql-sql

From Tom Lane
Subject Re: decode/encode backslash to base64
Date
Msg-id 2472954.1711374506@sss.pgh.pa.us
Whole thread Raw
In response to decode/encode backslash to base64  (ft <ftimmer@ft-c.de>)
List pgsql-sql
ft <ftimmer@ft-c.de> writes:
> here is an example for decode and encode 
> a string with backslash: 'a\'

That is not valid input syntax for bytea.  See

https://www.postgresql.org/docs/current/datatype-binary.html

You've said nothing about what your actual purpose is,
so it's difficult to suggest what you should do differently.

            regards, tom lane



pgsql-sql by date:

Previous
From: ft
Date:
Subject: decode/encode backslash to base64
Next
From: Russell Rose | Passfield Data Systems
Date:
Subject: Get error when calling function that returns a table