Re: proposal: UTF8 to_ascii function - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proposal: UTF8 to_ascii function
Date
Msg-id 162867790808110804iae4b66fud470287a35e5ef6d@mail.gmail.com
Whole thread Raw
In response to Re: proposal: UTF8 to_ascii function  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: proposal: UTF8 to_ascii function  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
2008/8/11 Andrew Dunstan <andrew@dunslane.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             |
textpg_catalog| to_ascii | text             | text, integerpg_catalog | to_ascii | text             | text, name
 

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


> cheers
>
> andrew
>


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: proposal: UTF8 to_ascii function
Next
From: Andrew Dunstan
Date:
Subject: Re: proposal: UTF8 to_ascii function