Re: Non working example

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Maarten van Gijssel <maarten(at)vgijssel(dot)nl>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Non working example
Date: 2019-07-01 10:28:56
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

> On 1 Jul 2019, at 12:19, Maarten van Gijssel <maarten(at)vgijssel(dot)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 the error.

Aha, there we go.

> Sorry, my mistake!

No worries at all.

cheers ./daniel

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2019-07-01 11:48:52 Re: Formatting of warning about using ident
Previous Message Maarten van Gijssel 2019-07-01 10:19:12 Re: Non working example