Skip site navigation (1) Skip section navigation (2)

Rep:Re: Error Writing/Reading Encrypted Values

From: <cnliou(at)eurosport(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Rep:Re: Error Writing/Reading Encrypted Values
Date: 2002-01-15 00:51:55
Message-ID: 200201150051.3761@th00.opsion.fr (view raw or flat)
Thread:
Lists: pgsql-odbc
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?

Best Regards,

CN

--------------------------------------------------------
You too can have your own email address from Eurosport.
http://www.eurosport.com






Responses

pgsql-odbc by date

Next:From: Curtis GallowayDate: 2002-01-15 00:59:41
Subject: Bad SQL generated by application
Previous:From: Curtis GallowayDate: 2002-01-15 00:14:40
Subject: Bad SQL generated by application

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group