Re: proposal: UTF8 to_ascii function

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: Jan Urbański <j(dot)urbanski(at)students(dot)mimuw(dot)edu(dot)pl>, "PostgreSQL-development Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: UTF8 to_ascii function
Date: 2008-08-11 15:04:45
Message-ID: 162867790808110804iae4b66fud470287a35e5ef6d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2008/8/11 Andrew Dunstan <andrew(at)dunslane(dot)net>:
>
>
> Pavel Stehule wrote:
>>>
>>> But what would be the meaning of this?:
>>>
>>> to_ascii(bytea, integer)
>>>
>>>
>>
>> it's symmetric. Nothing more.
>>
>>
>
> Symmetric to what? What is the second argument supposed to be?
>

postgres=# \df to_ascii
List of functions
Schema | Name | Result data type | Argument data types
------------+----------+------------------+---------------------
pg_catalog | to_ascii | text | text
pg_catalog | to_ascii | text | text, integer
pg_catalog | to_ascii | text | text, name

postgres=# select to_ascii('pavel',8);
to_ascii
----------
pavel
(1 row)

> cheers
>
> andrew
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-08-11 15:19:13 Re: proposal: UTF8 to_ascii function
Previous Message Andrew Dunstan 2008-08-11 14:56:52 Re: proposal: UTF8 to_ascii function