Re: Non working example - Mailing list pgsql-docs

From Daniel Gustafsson
Subject Re: Non working example
Date
Msg-id 25D2F3EB-FEA2-41FB-8B3B-2AC6249C0658@yesql.se
Whole thread Raw
In response to Re: Non working example  (Maarten van Gijssel <maarten@vgijssel.nl>)
List pgsql-docs
> On 1 Jul 2019, at 12:19, Maarten van Gijssel <maarten@vgijssel.nl> wrote:
>
> After I posted the question, I realised my mistake 😅. I was using the pg gem in Ruby to run the SQL "SELECT
encode('123\000\001','base64')", the double quotes ensure the `\0` will be interpreted as a null byte hence throwing
theerror. 

Aha, there we go.

> Sorry, my mistake!

No worries at all.

cheers ./daniel


pgsql-docs by date:

Previous
From: Maarten van Gijssel
Date:
Subject: Re: Non working example
Next
From: Daniel Gustafsson
Date:
Subject: Re: Formatting of warning about using ident