pgsql: In CREATE CONVERSION, test that the given function is a valid

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In CREATE CONVERSION, test that the given function is a valid
Date: 2009-02-27 16:35:36
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
In CREATE CONVERSION, test that the given function is a valid conversion
function for the specified source and destination encodings. We do that by
calling the function with an empty string. If it can't perform the requested
conversion, it will throw an error.

Backport to 7.4 - 8.3. Per bug report #4680 by Denis Afonin.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
conversioncmds.c (r1.29 -> r1.29.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/conversioncmds.c?r1=1.29&r2=1.29.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-02-27 16:35:42 pgsql: In CREATE CONVERSION, test that the given function is a valid
Previous Message Heikki Linnakangas 2009-02-27 16:35:31 pgsql: In CREATE CONVERSION, test that the given function is a valid