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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Automated setting of timezone with connection pooling





On Mon, 24 Apr 2006, George Woodring wrote:

We have multiple databases in a cluster ( one for each of our customers
) which the default time zone needs to be different.  We are currently
using dbcp to do our connection pooling.  Can anyone recommend a good
way of automatically setting the timezone when the connection is made?


I'm uncertain of what your requirements are. Do you just need a different default timezone per database? If so, ALTER DATABASE mydb SET timezone = 'America/Los_Angeles'; You can also set the timezone in the same fashion per database user. If you have other requirements, you'll need to make them clear, but you're probably out of luck.

Kris Jurka



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group