From 737c892c52c449b4c78e48755475eea08ba3a310 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Tue, 7 Jun 2005 08:28:14 +0000 Subject: [PATCH] use &true; where appropriated and WS # please don't exceed 78 for lines length git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187806 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-convert.xml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/reference/pgsql/functions/pg-convert.xml b/reference/pgsql/functions/pg-convert.xml index 5dbb81be70..3fbde0fe80 100644 --- a/reference/pgsql/functions/pg-convert.xml +++ b/reference/pgsql/functions/pg-convert.xml @@ -1,5 +1,5 @@ - + @@ -21,19 +21,20 @@ pg_convert checks and converts the values in assoc_array into suitable values for use in a SQL - statement. Precondition for pg_convert is the existence - of a table table_name which has at least as many columns - as assoc_array has elements. The fieldnames in - table_name must match the indices in assoc_array - and the corresponding datatypes must be compatible. Returns an array with - the converted values on success, &false; otherwise. + statement. Precondition for pg_convert is the + existence of a table table_name which has at least + as many columns as assoc_array has elements. The + fieldnames in table_name must match the indices in + assoc_array and the corresponding datatypes must be + compatible. Returns an array with the converted values on success, &false; + otherwise. - If there are boolean fields in table_name don't use the - constant TRUE in assoc_array. It will be converted to the - string 'TRUE' which is no valid entry for boolean fields in PostgreSQL. Use one - of t, true, 1, y, yes instead. + If there are boolean fields in table_name don't + use the constant &true; in assoc_array. It will be + converted to the string 'TRUE' which is no valid entry for boolean fields + in PostgreSQL. Use one of t, true, 1, y, yes instead. &warn.experimental.func;