Re: How to convert US date format to European date format ?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to convert US date format to European date format ?
Date: 2013-04-10 21:00:31
Message-ID: 5165D2EF.9070103@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/10/2013 12:35 PM, Thomas Kellerer wrote:
> But the *display* is done by the client.
> And if Postgres (the server) did the conversion, I would not be able
> to see a different date formatting in e.g. a JDBC based tool. So I
> guess psql is reading that database/server setting.

psql is letting postgres send it as text rather than the binary internal
date format.

JDBC has its own extensive date munging with its own database
independent rules. in particular, it does NOT use libpq.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua Berry 2013-04-10 21:34:40 Segmentation fault with core dump
Previous Message News Subsystem 2013-04-10 20:30:53