From: | "Walker, Jed S" <Jed_Walker(at)cable(dot)comcast(dot)com> |
---|---|
To: | "'pgsql-novice(at)postgresql(dot)org'" <pgsql-novice(at)postgresql(dot)org> |
Subject: | environment variables |
Date: | 2005-03-17 19:57:16 |
Message-ID: | 41669DC6FE3B80449A33A4DD46DB370A09E7E7F0@entcoexch15.broadband.att.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
I've noticed postgres uses some environment variables such as $PGDATA. Is
there a standard postgres environment variable for the current database?
I'd like something where we can have aliases and such access the db without
the user having to know what the name is
alias sql='psql -d $PGDATABASE'
type thing.
Thanks,
Jed S. Walker
Senior Database Administrator
Comcast Media Centers
Phone: 303.267.6759
Email: jed_walker(at)cable(dot)comcast(dot)com
CONFIDENTIAL NOTICE
This electronic mail transmission and any accompanying
documents contain information belonging to the sender, which may be
confidential and legally privileged. If you are not the intended recipient,
any disclosure, copying, distribution or action taken in reliance on the
message is strictly prohibited. If you have received this message in error,
please delete it immediately. Thank You
From | Date | Subject | |
---|---|---|---|
Next Message | George Weaver | 2005-03-17 20:02:38 | Re: XML and Postgres |
Previous Message | Sean Davis | 2005-03-17 18:37:46 | Re: XML and Postgres |