Trimed results from PostgreSQL-Database
| From: | Martin Neimeier | Date: | Sun, 20 Aug 2000 15:46:45 +0000 |
| Subject: | Trimed results from PostgreSQL-Database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12646@lists.php.net to get a copy of this message | ||
Hello all,
If i fetch a result-set from a PostgreSQL-table (using pg_Result,
pg_Fetch_Array, pg_Fetch_Object), all string-colums have trailing spaces
attached.
Now the question:
Is it posible to say the database, not to fill in trailing spaces ? If
yes how ?
(I dont want to use trim() on all columns !)
cu
Martin
--
--------------
Martin Neimeier
Tel:+49(6262)912344 Fax:+49(6262)912347