Re: Problems with Blank space

Поиск
Список
Период
Сортировка
От Mitch Vincent
Тема Re: Problems with Blank space
Дата
Msg-id 00f701c11f76$dcd5b6c0$1251000a@Mitch
обсуждение исходный текст
Ответ на Problems with Blank space  ("Eric, Audet" <eaudet@scc.ca>)
Список pgsql-general
Yes, if you're using fixed-length fields then the value is padded out to the
length that the field is fixed to :-)

I'm sure Perl has some facility for stripping NULLs off of strings, I
suggest using it here or changing the data type in PG...

Good luck!!

> I am not sure if this is a database issue or a DBI::Pg issue.
>
> When I do a select * from tablea .... all fields specified as fix length
> text field ... return the data with blank space.
>
> Example:
> "Eric" returns "Eric****************" where * are blank spaces.
>
> Is this normal?
>
> Eric
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Nicolas Kowalski
Дата:
Сообщение: Re: Admin tool
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Still wondering about random numbers...