Re: datestyle setting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kenneth Gonsalves <lawgon(at)thenilgiris(dot)com>
Cc: PostgreSQL SQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: datestyle setting
Date: 2005-03-09 06:27:26
Message-ID: 20765.1110349646@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Kenneth Gonsalves <lawgon(at)thenilgiris(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Kenneth Gonsalves 2005-03-09 07:21:25 Re: datestyle setting
Previous Message Kenneth Gonsalves 2005-03-09 06:05:55 datestyle setting