RE: default current_time (resuelto)

From: José Fermín Francisco Ferreras <josefermin54(at)hotmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, foro postgresql <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: RE: default current_time (resuelto)
Date: 2008-09-04 00:43:38
Message-ID: COL103-W47E417BB9F21EB7F0E8D6DC6590@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

<html><div>ing. José Fermín Francisco Ferreras <BR>San Francisco de Macorís, Rep. Dom. <BR></div></html>

From: josefermin54(at)hotmail(dot)com
To: alvherre(at)alvh(dot)no-ip(dot)org
CC: jcasanov(at)systemguards(dot)com(dot)ec; pgsql-es-ayuda(at)postgresql(dot)org
Subject: RE: [pgsql-es-ayuda] default current_time
Date: Thu, 4 Sep 2008 00:18:32 +0000

<html><div>ing. José Fermín Francisco Ferreras <BR>San Francisco de Macorís, Rep. Dom. <BR></div></html>

> Date: Wed, 3 Sep 2008 19:48:07 -0400
> From: alvherre(at)alvh(dot)no-ip(dot)org
> To: josefermin54(at)hotmail(dot)com
> CC: jcasanov(at)systemguards(dot)com(dot)ec; pgsql-es-ayuda(at)postgresql(dot)org
> Subject: Re: [pgsql-es-ayuda] default current_time
>
> José Fermín Francisco Ferreras escribió:
> >
> > Donde se ubica el archivo q se genera de log_destination=evenlog, para poder decirte.
>
> Por favor no hagas top-post.
>
> No tengo idea. Preguntale a alguien que sepa de Windows.
>
> > A proposito, se usaria comillas dobles o sencillas en timezone =
> > 'gmt+4' o timezone = "gmt+4"??
>
> Por favor no hagas top-post.
>
> Se usan comillas simples. No estoy seguro si las otras funcionan
> también; puede que sí.
>
> PS: por favor no hagas top-post.
>
> --
> Alvaro Herrera http://www.amazon.com/gp/registry/DXLWNGRJD34J
> "El número de instalaciones de UNIX se ha elevado a 10,
> y se espera que este número aumente" (UPM, 1972)
> --
> TIP 4: No hagas 'kill -9' a postmaster

Sorry,

por cierto, probé con ambos tipos de comillas (sencillas y dobles) y no me funcionó.

Aquí mando las líneas del postgresql.conf a ver si alguien descubre algo (seguiré buscando el eventlog, por cierto creo q falto una "t" en log_destination = evenlog).

# - Locale and Formatting -

datestyle = 'iso, mdy'
timezone = 'gmt+4' # actually, defaults to TZ environment
# setting
#timezone_abbreviations = 'Default' # Select the set of available time zone
# abbreviations. Currently, there are
# Default
# Australia
# India
# You can create your own file in
# share/timezonesets/.
#extra_float_digits = 0 # min -15, max 2
client_encoding = LATIN1 # actually, defaults to database
# encoding

# These settings are initialized by initdb, but they can be changed.
lc_messages = 'C' # locale for system error message
# strings
lc_monetary = 'C' # locale for monetary formatting
lc_numeric = 'C' # locale for number formatting
lc_time = 'C' # locale for time formatting

# default configuration for text search
default_text_search_config = 'pg_catalog.english'

Amigos mios!! probé d la siguiente manera y me funcionó muy bien:

timezone = 'utc+4'

Excelente!!

Gracias a Alvaro, Jaime y los demás q aportaron!!

Reveal your inner athlete and share it with friends on Windows Live. Share now!

_________________________________________________________________
Get more from your digital life. Find out how.
http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home2_082008

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2008-09-04 01:22:42 Re: ajuste de espacio en base de datos
Previous Message José Fermín Francisco Ferreras 2008-09-04 00:18:32 RE: default current_time