From: | Tino Wildenhain <tino(at)wildenhain(dot)de> |
---|---|
To: | C K <shreeseva(dot)it(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] Fwd: setting datestyle |
Date: | 2008-08-11 13:49:41 |
Message-ID: | 48A04375.3070309@wildenhain.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
C K wrote:
> Dear Friends,
> I have tried to set datestyle to 'DMY'. As per manual and many other
> posts related to this point, I have set datestyle to 'DMY' at database.
> but still it is needed to execute each time *set datestyle to 'DMY'
> *before starting any new connection. Once this is set, there is no
> problem for that connection till it was live. Is there any solution to
> this problem? Why even after setting database property datastyle to
> 'DMY' gives an error when *set datestyle to 'DMY' *is not executed at
> starting connection?
Maybe you have a setting at database or login level?
ALTER ROLE ... SET ... can be effective
or
ALTER DATABASE ... SET
These would override whatever you set in the config file.
Also config file changes only take effect when you
restart the cluster in most cases.
Regards
Tino
From | Date | Subject | |
---|---|---|---|
Next Message | Fernando Ike de Oliveira | 2008-08-11 19:08:49 | Re: Best file system from PG on OpenBSD |
Previous Message | C K | 2008-08-11 13:32:04 | Fwd: setting datestyle |
From | Date | Subject | |
---|---|---|---|
Next Message | Joao Ferreira gmail | 2008-08-11 14:25:21 | diagnostic, admin, maintenance tool |
Previous Message | C K | 2008-08-11 13:32:04 | Fwd: setting datestyle |