Search Postgresql Archives

Re: Can you set the date output format (to_char style) per session?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello

2010/3/4 Joshua Johnston <johnston.joshua@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux