From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Joshua Johnston <johnston(dot)joshua(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Can you set the date output format (to_char style) per session? |
Date: | 2010-03-04 19:51:40 |
Message-ID: | 162867791003041151n64ab31edp19e30e31fb97522d@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
hello
2010/3/4 Joshua Johnston <johnston(dot)joshua(at)gmail(dot)com>:
> Hello list!
>
> I am working through some i18n/l10n issues in a new application and one of our possible solutions for handling date formatting is to have the dates formatted by pgsql per session. I know I Can use DateStyle to adjust date output, but I am looking for something that works like SET DateStyle but with finer control like to_char(format, timestamp).
>
> Is there such thing?
>
no
no on sql level - you can do some only in C lang - create own type -
compatible with timestamp but with own output function.
regards
Pavel Stehule
> Thanks,
>
> Josh
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua Johnston | 2010-03-04 19:53:55 | Re: Can you set the date output format (to_char style) per session? |
Previous Message | Terry | 2010-03-04 19:44:41 | Re: join from multiple tables |