Re: Rep:Re: Error Writing/Reading Encrypted Values - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Rep:Re: Error Writing/Reading Encrypted Values
Date
Msg-id 3C43B16B.8EF64806@tpf.co.jp
Whole thread Raw
In response to Rep:Re: Error Writing/Reading Encrypted Values  (<cnliou@eurosport.com>)
List pgsql-odbc
cnliou@eurosport.com wrote:
>
> Hi! Hiroshi,
>
> Thank you again for the big help!
>
> [ begin of quote ]
> > I also found in Windoz that when my encryption
> > routine aborts, the retrieved encrypted string is
> > actually corrupted - its string length is 1 byte
> > longer than it is supposed to be.
>
> There could be the following case.
>
> Windows client          *nix server
>
> '\n'            --->    '\n'
> (not preceded by 'r')
> \r\n            <---    '\n'
>
> [ end of quote ]
>
> I will check this out.
> My C routine does not add the *unwanted* '\r'.  I
> won't think delphi does that either.  Does pgsqlODBC
> do this unwanted conversion?

Yes. Do people want a new option ?

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Keith Gray
Date:
Subject: Re: Error Writing/Reading Encrypted Values
Next
From:
Date:
Subject: Re: Error Writing/Reading Encrypted Values