Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

formato de fecha dmy solo para un usuario o una base de datos - RESUELTO



Creo que he encontrado la solucion:

alter database tu_db SET DateStyle to 'sql, dmy'; -- Para cambiar solo
a esta bd.

documentacion:
PostgreSQL 8.0.3 Documentation 16.4. Run-time Configuration:
"....Furthermore, it is possible to assign a set of option settings to
a user or a database. Whenever a session is started, the default
settings for the user and database involved are loaded. The commands
ALTER USER and ALTER DATABASE, respectively, are used to configure
these settings. Per-database settings override anything received from
the postmaster command-line or the configuration file, and in turn are
overridden by per-user settings; both are overridden by per-session
options...."
Si tengo problemas les escribo de nuevo... gracias nuevamente...
--
§~^Calabaza^~§



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group