Re: proposal: unescape_text function

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Asif Rehman <asifr(dot)rehman(at)gmail(dot)com>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: unescape_text function
Date: 2020-07-29 06:18:18
Message-ID: CAFj8pRDszi5Ee7NHyc5dkPThJ3yJoQkUve60wv7A==JYw==72A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

>
> Hi Pavel,
>
> Since the idea originated from unescaping unicode string literals i.e.
> select unescape('Odpov\u011Bdn\u00E1 osoba');
>
> Shouldn't the built-in function support the above syntax as well?
>

good idea. The prefixes u (4 digits) and U (8 digits) are supported

Regards

Pavel

> --
> Asif Rehman
> Highgo Software (Canada/China/Pakistan)
> URL : www.highgo.ca
>
>

Attachment Content-Type Size
unicode_unescape-20200729.patch text/x-patch 13.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2020-07-29 06:21:19 Re: [PATCH] Tab completion for VACUUM of partitioned tables
Previous Message Thomas Munro 2020-07-29 06:15:30 Re: Improving connection scalability: GetSnapshotData()