diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-03 19:18:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-03 19:18:48 +0000 |
commit | ecbc6dd3e97059bd5dee84939d5ea673754b4d38 (patch) | |
tree | 938d08a112a2a70d45424c99edccff22122bcac4 /doc/src | |
parent | 0d8cdcfe888026b934fe43d9e3c4fc39a7091aa6 (diff) |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/create_conversion.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_conversion.sgml,v 1.5 2002/11/02 02:33:03 tgl Exp $ --> +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_conversion.sgml,v 1.5.2.1 2005/05/03 19:18:48 tgl Exp $ --> <refentry id="SQL-CREATECONVERSION"> <refmeta> @@ -8,7 +8,7 @@ <refnamediv> <refname>CREATE CONVERSION</refname> - <refpurpose>define a user-defined conversion</refpurpose> + <refpurpose>define a user-defined encoding conversion</refpurpose> </refnamediv> <refsynopsisdiv> @@ -102,7 +102,7 @@ CREATE [DEFAULT] CONVERSION <replaceable>conversion_name</replaceable> 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; </programlisting> |