Re: Non working example

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Non working example
Дата
Msg-id 25D2F3EB-FEA2-41FB-8B3B-2AC6249C0658@yesql.se
обсуждение исходный текст
Ответ на Re: Non working example  (Maarten van Gijssel <maarten@vgijssel.nl>)
Список 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 по дате отправления:

Предыдущее
От: Maarten van Gijssel
Дата:
Сообщение: Re: Non working example
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Formatting of warning about using ident