Re: Rep:Re: Error Writing/Reading Encrypted Values

Поиск
Список
Период
Сортировка
Искать
От
Cedar Cox
Тема
Re: Rep:Re: Error Writing/Reading Encrypted Values
Дата
Msg-id
Pine.LNX.4.21.0201181219390.11971-100000@nanu.visionforisrael.com
Ответ на
Список
Дерево обсуждения
Re: Rep:Re: Error Writing/Reading Encrypted Values Hiroshi Inoue <Inoue@tpf.co.jp>
Re: Rep:Re: Error Writing/Reading Encrypted Values Bruce Momjian <pgman@candle.pha.pa.us>
Re: Rep:Re: Error Writing/Reading Encrypted Values Cedar Cox <cedarc@visionforisrael.com>
Re: Rep:Re: Error Writing/Reading Encrypted Values Bruce Momjian <pgman@candle.pha.pa.us>

> > > > Ok.  I understand the dilemma.  In that case, perhaps it would make sense
> > > > for it to be a compile time option, with defaults as I mentioned.  It
> > > > seems most likely to be platform dependent, and probably set only once
> > > > anyway.  This way the windows driver at least wouldn't change at all
> > > > ...back to the list.  Comments anyone?
> > > 
> > > Compile-time options are even less attractive -- perhaps some
> > > auto-sensing code that looked at the first line and determined the
> > > proper behavior.
> > 
> > Hmm I don't understand what auto-sensing means.
> > At any rate I would change the behavior in the next
> > version.
> 
> For auto-sensing, I was thinking of looking at the end of the first line
> and seeing if it is \n or \r\n and using that to handle the rest of the
> lines.

The point of this is to handle arbitrary binary data (and give people an
option of CRLF translation) right?  What if the "wrong" data appears?  
How does one auto-sense binary data?  (Perhaps I'm missing something..)

-Cedar

В списке pgsql-odbc по дате отправления
От: Bruce Momjian
Дата:
От: Bruce Momjian
Дата:
FAQ