Re: Custom datestyle for timestamps - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Custom datestyle for timestamps
Date
Msg-id 200903052058.05278.peter_e@gmx.net
Whole thread Raw
In response to Custom datestyle for timestamps  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: Custom datestyle for timestamps  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-general
On Thursday 05 March 2009 00:19:02 Daniel Verite wrote:
> SET DATESTYLE takes predefined keywords such as ISO or US as arguments,
> but I can't find a way to specify a custom format string for
> timestamps.

There is no support for that.

> What I'd like to find is an equivalent to Oracle's
> ALTER SESSION SET nls_date_format='DD/MM/YYYY HH24' for example,
> where the format follows the sames rules than to_char and to_date.
> This sets an implicit format for every subsequent text<->date
> conversion.

... or that.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with SSL: "could not accept SSL connection: EOF detected"
Next
From: John R Pierce
Date:
Subject: Re: converting older databases