On Sun, Feb 9, 2014 at 1:56 AM, Gustaf Neumann <neum...@wu.ac.at> wrote:
> dbipg does for each session unconditionally
>
> set session timezone = 'UTC'
> set session client_encoding = 'UTF8'
> set session datestyle = 'ISO'
>
> actually, postgresql.conf sets these values, it is confusing, when psql
> behaves
> differently from a naviserver session. Are there concerns to remove
> these settings
> from the driver?

Yes.

'UTF8' is required so that we can feed the tcl core strings in the
format it expects.

The time stuff is so that no matter which driver you are using, or
which particular db, or from which machine with whatever environment
(developer laptop, staging, production), times and dates pop out in a
predictable format you can feed to clock -format or some templating
system.

In the end, you often want to customise the format per page or user anyway.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to