pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kenneth Gonsalves <lawgon@thenilgiris.com>
Cc: PostgreSQL SQL <pgsql-sql@postgresql.org>
Subject: Re: datestyle setting
Date: Wed, 09 Mar 2005 01:27:26 -0500
Message-ID: <20765.1110349646@sss.pgh.pa.us> (raw)
In-Reply-To: <200503091135.55033.lawgon@thenilgiris.com>
References: <200503091135.55033.lawgon@thenilgiris.com>

Kenneth Gonsalves <lawgon@thenilgiris.com> writes:
> i have a website with a postgresql backend. Being a shared site, i 
> have no root access. i do have shell access to the database, but 
> cannot create or drop the database. I access the database through 
> python scripts using the psycopg adapter. My question is, how do i 
> set the pgdatestyle in the database as 'European,sql'?

If it's a reasonably recent version of PG, either ALTER DATABASE SET
or ALTER USER SET might serve.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <20765.1110349646@sss.pgh.pa.us>
Permalink:  ../20765.1110349646@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20765.1110349646@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lawgon@thenilgiris.com
  Subject: Re: datestyle setting
  In-Reply-To: <20765.1110349646@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox