[pg-devel] [PATCH] CLSQL support, more encodings, float parser, etc

Vladimir Sekissov svg at surnet.ru
Fri Nov 24 07:10:32 UTC 2006


Good day,

eric.marsden>   vs> - preliminary CLSQL support. All CLSQL tests are passed
eric.marsden>   vs> except one because driver currently supports only two types of result
eric.marsden>   vs> type conversions - nil and :auto.
eric.marsden> 
eric.marsden>   I'm not very familiar with CLSQL. Can you tell me what advantages
eric.marsden>   your code has over the pg-socket backend that is already implemented
eric.marsden>   in CLSQL?

CLSQL pg-socket driver doesn't implement v3 protocol, encodings and supports
result type conversion for numbers only.

I thought it would be better to support CLSQL in Pg than merge its
code into pg-socket.

eric.marsden>   Your variable *PG-COERCE-RESULT-TYPES* seems to be redundant given
eric.marsden>   the existing variable *PG-DISABLE-TYPE-COERCION*. 

*PG-DISABLE-TYPE-COERCION* disable/enable type coercion at
connection time for all following queries, *PG-COERCE-RESULT-TYPES*
allow to disable it for some of them only (when
*PG-DISABLE-TYPE-COERCION* is NIL of cause).

Best Regards,
Vladimir Sekissov



More information about the pg-devel mailing list