Re: proposal: unescape_text function - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: proposal: unescape_text function
Date
Msg-id 5cf1cd10-0fc6-7ba7-c03c-c1ef5008f6d0@enterprisedb.com
Whole thread Raw
In response to Re: proposal: unescape_text function  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: unescape_text function  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On 2020-10-07 11:00, Pavel Stehule wrote:
>         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

I don't really get the point of this function.  There is AFAICT no 
function to produce this escaped format, and it's not a recognized 
interchange format.  So under what circumstances would one need to use this?



pgsql-hackers by date:

Previous
From: Alexey Kondratov
Date:
Subject: Re: Printing LSN made easy
Next
From: Tom Lane
Date:
Subject: Re: configure and DocBook XML