Datestyle

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Datestyle
Date: 1999-11-01 06:17:45
Message-ID: 199911010617.BAA00953@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Is this correct?

test=> SET DATESTYLE = 'European';
SET VARIABLE
test=> SELECT date('2/1/1983'::date);
date
----------
02-01-1983
(1 row)

I have found US, Postgres, European, and NonEuropean as showing the same
date output. Is that correct?

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-11-01 06:20:02 DateStyle
Previous Message Bruce Momjian 1999-11-01 05:53:36 Re: [HACKERS] Backend crashes (6.5.2 linux)