Re: BUG #1862: ECPG Connect, host variable trailing blanks

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #1862: ECPG Connect, host variable trailing blanks
Дата
Msg-id 200509161600.j8GG0xD14689@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1862: ECPG Connect, host variable trailing blanks  (Jim.Gray@Bull.com)
Ответы Re: BUG #1862: ECPG Connect, host variable trailing blanks  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-bugs
Jim.Gray@Bull.com wrote:
> What do you think of an Postgres option that would enable stripping of
> trailing blanks from connect host variables when turned ON?

I would not support such an option.  If we added flags for every single
thing that someone wanted, the system would be unusable.

> This would allow current behavior to be supported by ECPG and the
> Postgres server, but allow applications that need the behavior (like
> a Cobol/SQL preprocessor for Postgres), to make use of it.
>
> When I searched the mail archives, I found that others had run into
> this same problem, in this case with an ODBC driver:
>    http://archives.postgresql.org/pgsql-interfaces/1998-08/msg00000.php

Just because Oracle does it doesn't mean we should.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: BUG #1885: SHOW autovacuum settings tab completion broken
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: BUG #1862: ECPG Connect, host variable trailing blanks