Hello documentation fix.
result of convert_to is bytea, not text. Regards Pavel Stehule
*** ./src/sgml/func.sgml.orig 2007-12-12 17:18:55.000000000 +0100 --- ./src/sgml/func.sgml 2007-12-12 17:19:56.000000000 +0100 *************** *** 1386,1392 **** <literal><function>convert_to</function>(<parameter>string</parameter> <type>text</type>, <parameter>dest_encoding</parameter> <type>name</type>)</literal> </entry> ! <entry><type>text</type></entry> <entry> Convert string to <parameter>dest_encoding</parameter>. </entry> --- 1386,1392 ---- <literal><function>convert_to</function>(<parameter>string</parameter> <type>text</type>, <parameter>dest_encoding</parameter> <type>name</type>)</literal> </entry> ! <entry><type>bytea</type></entry> <entry> Convert string to <parameter>dest_encoding</parameter>. </entry>
---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate