[Lazarus] Setting SQL locale

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Mon Jun 13 20:01:44 CEST 2011

When using the standard DB components connecting to e.g. a PostgreSQL 
backend, is there an event that fires between the connection being 
established and the query being issued?

I'm trying to send a SET TIMEZONE command to the server, to get DST 
correction applied to the resultset. This has to be done using the same 
handle as will be used for the query, otherwise the server thinks it's a 
different session and it has no effect.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list