2014-08-27 12:38 GMT-03:00 Sven Van Caekenberghe <[email protected]>: > It seems that Glorp Login>>#encodingStrategy is not used by the > NativePostgresDriver yet it is required to set it to a non nil value to get > things working. This feels like a hack or something unfinished.
How so? PGConnection>>#clientEncoding: sets instance variables sqlStringConverter and receivingTextConverter, which are used to convert text back and forth from Pharo to the socket (see PGConnection>>#execute:) It is really convoluted, but I guess this has to do with the pass of time, and also with the half-backed (IMO) driver independence and dialect compatibility. Regards! Esteban A. Maringolo
