From ecbc6dd3e97059bd5dee84939d5ea673754b4d38 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 3 May 2005 19:18:48 +0000 Subject: Alter the signature for encoding conversion functions to declare the output area as INTERNAL not CSTRING. This is to prevent people from calling the functions by hand. This is a permanent solution for the back branches but I hope it is just a stopgap for HEAD. --- doc/src/sgml/ref/create_conversion.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/create_conversion.sgml b/doc/src/sgml/ref/create_conversion.sgml index bf8ec00ff7b..61b46136370 100644 --- a/doc/src/sgml/ref/create_conversion.sgml +++ b/doc/src/sgml/ref/create_conversion.sgml @@ -1,4 +1,4 @@ - + @@ -8,7 +8,7 @@ CREATE CONVERSION - define a user-defined conversion + define a user-defined encoding conversion @@ -102,7 +102,7 @@ CREATE [DEFAULT] CONVERSION conversion_name INTEGER, -- source encoding id INTEGER, -- destination encoding id CSTRING, -- source string (null terminated C string) - CSTRING, -- destination string (null terminated C string) + INTERNAL, -- destination (fill with a null terminated C string) INTEGER -- source string length ) returns VOID; -- cgit v1.2.3