extra spaces

From: Soma Interesting <dfunct(at)telus(dot)net>
To: php-general(at)lists(dot)php(dot)net, php-db(at)lists(dot)php(dot)net, pgsql-general(at)postgresql(dot)org
Subject: extra spaces
Date: 2000-12-14 22:55:34
Message-ID: 5.0.0.25.0.20001214145014.00b956c8@pop.telus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm using PHP & PostgreSQL.

All values called from the database are still padded with extra spaces from
the column size in the database. Is this normal - I don't remember this
happening when I was using MySQL. I thought usually the database stripped
the extra spaces when it retrieved the values.

How do you recommend dealing with this, using a PHP command to strip every
value from the database - or can I change something in the database to have
it strip the spaces auto magic like?

- - - - - - -
- - - -
WARNING: Some experts believe that use of any keyboard may cause
serious injury. Consult Users Guide.
dfunct(at)telus(dot)net

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex Pilosov 2000-12-14 22:59:05 Re: extra spaces
Previous Message Jeff MacDonald 2000-12-14 21:34:41 Re: Postgres demographics?