Is it not datestyle that determines date format output? - Mailing list pgsql-general

From Netto
Subject Is it not datestyle that determines date format output?
Date
Msg-id bra9u9$aci$1@news.hub.org
Whole thread Raw
Responses Re: Is it not datestyle that determines date format output?  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Is it not datestyle that determines date format output?  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-general
The way PostgreSQL deals with the date format is confusing me...
I need PostgreSQL to return dates from selects at this format: "dd/mm/yyyy",
but it insists in returning it as "yyyy-mm-dd". I say "insists" cause I had
already set datestyle to "European" (in postgresql.conf) which represents
the format I want...  I checked it executing: "SHOW DATESTYLE" and I got:
DateStyle
-----------
ISO with European conventions

When inserting dates, PostgreSQL understands very well my date format like
"dd/mm/yyyy", but it is also important to get the date like that.
I think it's possible, but I had tried all the tricks I knew or I could
retrieve from manual...

Any ideas?
Thank you all.
Netto




pgsql-general by date:

Previous
From: "Dave Page"
Date:
Subject: Re: [HACKERS] Should we consider empty fields as NULL values when dealing with string columns ?
Next
From: "Matt Gordon"
Date:
Subject: VACUUM ANALYZE -vs- ANALYZE on an insert-only table.