Re: SQL99 CONVERT() function - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: SQL99 CONVERT() function
Date
Msg-id Pine.LNX.4.44.0208062310280.927-100000@localhost.localdomain
Whole thread Raw
In response to Re: SQL99 CONVERT() function  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: SQL99 CONVERT() function
List pgsql-hackers
Tatsuo Ishii writes:

> > Sorry, but it seems
> >  strange. What 'ISO8859-1' as name?
>
> Sure, you can use '-' instead of '_' if you don't mind quoting it
> with "(i.e. delimited identifier).
>
> convert('PostgreSQL' using "iso8859-1-to-utf8")
>
> I'm sure people don't like that way...

I suggest using the official IANA names and replace all the non-identifier
characters by underscores and all upper-case letters with lower-case.
So it would be iso_8859_1_to_utf_8.  That way it's almost as pretty but a
lot more predictable.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: FUNC_MAX_ARGS benchmarks
Next
From: Joe Conway
Date:
Subject: Re: FUNC_MAX_ARGS benchmarks