pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedDATESTYLE setting
4+ messages / 3 participants
[nested] [flat]
* DATESTYLE setting
@ 2003-04-08 09:51 Erwin Ambrosch <naus.office@aon.at>
0 siblings, 1 reply; 4+ messages in thread
From: Erwin Ambrosch @ 2003-04-08 09:51 UTC (permalink / raw)
To: pgsql-admin
Hi,
I've run postgresql and the default datestyle is
"DateStyle is ISO with US (NonEuropean) conventions".
I would like to have the default datestyle to be
"DateStyle is ISO with European conventions".
Is it possible to set the datestyle for an already set up Database.
As I know I can set the datestyle on a per connection basis, but I
need the default datestyle to be changed.
Thanks in advance
Erwin
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: DATESTYLE setting
@ 2003-04-08 10:56 A.Bhuvaneswaran <bhuvansql@myrealbox.com>
parent: Erwin Ambrosch <naus.office@aon.at>
0 siblings, 1 reply; 4+ messages in thread
From: A.Bhuvaneswaran @ 2003-04-08 10:56 UTC (permalink / raw)
To: pgsql-admin
> I've run postgresql and the default datestyle is
> "DateStyle is ISO with US (NonEuropean) conventions".
> I would like to have the default datestyle to be
> "DateStyle is ISO with European conventions".
If 7.3, add the below line in postgresql.conf and restart postmaster,
datestyle = 'iso, european'
regards,
bhuvaneswaran
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: DATESTYLE setting
@ 2003-04-08 11:37 Erwin Ambrosch <naus.office@aon.at>
parent: A.Bhuvaneswaran <bhuvansql@myrealbox.com>
0 siblings, 1 reply; 4+ messages in thread
From: Erwin Ambrosch @ 2003-04-08 11:37 UTC (permalink / raw)
To: pgsql-admin
On Tuesday 08 April 2003 12:56, A.Bhuvaneswaran wrote:
> > I've run postgresql and the default datestyle is
> > "DateStyle is ISO with US (NonEuropean) conventions".
> > I would like to have the default datestyle to be
> > "DateStyle is ISO with European conventions".
>
> If 7.3, add the below line in postgresql.conf and restart
> postmaster, datestyle = 'iso, european'
Thaks for the quik answer. Do you also know a solution for 7.2 and
7.1?
>
> regards,
> bhuvaneswaran
>
>
> ---------------------------(end of
> broadcast)--------------------------- TIP 5: Have you checked our
> extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: DATESTYLE setting
@ 2003-04-08 14:32 Tom Lane <tgl@sss.pgh.pa.us>
parent: Erwin Ambrosch <naus.office@aon.at>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2003-04-08 14:32 UTC (permalink / raw)
To: naus.office@aon.at; +Cc: pgsql-admin
Erwin Ambrosch <naus.office@aon.at> writes:
> Thaks for the quik answer. Do you also know a solution for 7.2 and
> 7.1?
Set PGDATESTYLE environment variable for postmaster.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-04-08 14:32 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-04-08 09:51 DATESTYLE setting Erwin Ambrosch <naus.office@aon.at>
2003-04-08 10:56 ` A.Bhuvaneswaran <bhuvansql@myrealbox.com>
2003-04-08 11:37 ` Erwin Ambrosch <naus.office@aon.at>
2003-04-08 14:32 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox