pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: José Soares <jose@sferacarta.com>
To: Randal Flagg <flagg_randal@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] external environment variable
Date: Wed, 14 Apr 1999 15:40:33 +0200
Message-ID: <37149AD1.B1234DBB@sferacarta.com> (raw)
References: <19990414100246.311.qmail@hotmail.com>



Randal Flagg ha scritto:

> Hi!!,
>    I've a little problem. I've installed Apache JServ 1.03b and it
> works very good, I've also installed PostreSQL 6.4 and I set the
> environment variable PGDATESTYLE in the /etc/profile file. When I use
> PostgreSQL directly, date's fields are shown according to the
> PGDATESTYLE but, when I query a table across the Web using a Servlet
> PostreSQL ignore PGDATESTYLE and use it's default.
>

use command set
Description: set run-time environment
Syntax:
        SET DateStyle TO
'ISO'|'SQL'|'Postgres'|'European'|'US'|'NonEuropean'

example:
set datestyle to 'ISO';
José




view thread (3+ messages)  latest in thread

Message-ID: <37149AD1.B1234DBB@sferacarta.com>
Permalink:  ../37149AD1.B1234DBB@sferacarta.com/
Also on:    postgresql.org/message-id/37149AD1.B1234DBB@sferacarta.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jose@sferacarta.com, flagg_randal@hotmail.com
  Subject: Re: [SQL] external environment variable
  In-Reply-To: <37149AD1.B1234DBB@sferacarta.com>
  References: <19990414100246.311.qmail@hotmail.com> <37149AD1.B1234DBB@sferacarta.com>

* 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