From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | "Strand Johan F(dot)" <johan(dot)f(dot)strand(at)telia(dot)se> |
Cc: | "[Postgresql fr_ga (E-mail)]" <pgsql-admin(at)postgreSQL(dot)org> |
Subject: | Re: [ADMIN] Datetypes |
Date: | 2000-01-12 14:42:28 |
Message-ID: | 200001121442.JAA29068@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hello there !
>
> How do I do if I want to change the variable
> DATETYPES or PGDATESTYLE to ISO.
> I want to se my date column like this 2000-01-12
> and not 01-12-2000 when I do a select on it.
SET DATESTYLE TO 'ISO' should do it. See my book for a section on date
styles in the web documentation page.
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Cory Kempf | 2000-01-12 16:23:35 | Re: postgresql installation |
Previous Message | Mattias Norlander | 2000-01-12 13:54:55 | Re: [ADMIN] Datetypes |