From: | José Fermín Francisco Ferreras <josefermin54(at)hotmail(dot)com> |
---|---|
To: | <alvherre(at)alvh(dot)no-ip(dot)org>, <jurasec(at)gmail(dot)com> |
Cc: | Lista PostgreSQL <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | RE: mensajes de funciones |
Date: | 2010-05-25 12:00:04 |
Message-ID: | COL103-W5510D5DCEC5521E46B2C1EC6E80@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
ustedes son un Masters!!!
Gracias, su ayuda me ha ayudado mucho!!
ing. José Fermín Francisco Ferreras
San Francisco de Macorís, Rep. Dom.
> CC: josefermin54(at)hotmail(dot)com; pgsql-es-ayuda(at)postgresql(dot)org
> Subject: Re: [pgsql-es-ayuda] mensajes de funciones
> From: alvherre(at)alvh(dot)no-ip(dot)org
> To: jurasec(at)gmail(dot)com
> Date: Mon, 24 May 2010 23:23:38 -0400
>
> Excerpts from Julio Cesar Rodriguez Dominguez's message of lun may 24 18:52:46 -0400 2010:
>
> > select to_char(now( ), 'TMDay TMDD "de" TMMonth, YYYY');
> >
> > Funciona con to_char como dijo Alvaro, pero si lo quieres en español debes
> > tener configurados tus locales (lc_time) bien en postgresql.conf.
>
> O cambiarlo con SET ...
>
> alvherre=# set lc_time to 'C';
> SET
> alvherre=# select to_char(now( ), 'TMDay TMDD "de" TMMonth, YYYY');
> to_char
> ────────────────────────
> Monday 24 de May, 2010
> (1 fila)
>
> alvherre=# set lc_time to 'es_CL';
> SET
> alvherre=# select to_char(now( ), 'TMDay TMDD "de" TMMonth, YYYY');
> to_char
> ────────────────────────
> Lunes 24 de Mayo, 2010
> (1 fila)
>
> alvherre=# set lc_time to 'fr_CA';
> SET
> alvherre=# select to_char(now( ), 'TMDay TMDD "de" TMMonth, YYYY');
> to_char
> ───────────────────────
> Lundi 24 de Mai, 2010
> (1 fila)
>
>
> --
> Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
_________________________________________________________________
From | Date | Subject | |
---|---|---|---|
Next Message | Juan Pablo Sandoval Rivera | 2010-05-25 13:56:58 | Reenvio- consulta de pg_settings - tunning PGSQL 7.3.7 |
Previous Message | Alvaro Herrera | 2010-05-25 03:23:38 | Re: mensajes de funciones |