| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Ricardo Ryoiti S(dot) Junior" <suga(at)netbsd(dot)com(dot)br> |
| Cc: | Marcelo Pereira <gandalf(at)sum(dot)desktop(dot)com(dot)br>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Date problem |
| Date: | 2003-01-27 21:37:53 |
| Message-ID: | 8261.1043703473@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"Ricardo Ryoiti S. Junior" <suga(at)netbsd(dot)com(dot)br> writes:
> On Mon, 27 Jan 2003, Marcelo Pereira wrote:
>> How can I make PostgreSQL to use dates as DD/MM/YYYY ????
> I use "SET DATESTYLE TO SQL,EUROPEAN" as soon as the connection is
> made.
In 7.3 you can set that as the default datestyle in postgresql.conf.
There are klugier ways of making it the default in prior releases
(PGDATESTYLE env. variable or -e postmaster switch, if memory serves).
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Medi Montaseri | 2003-01-27 21:39:34 | Re: When to Vacuum |
| Previous Message | Josh Berkus | 2003-01-27 21:23:19 | Re: Indexing foreign keys |