command line

Started by Craig Whitealmost 20 years ago2 messagesgeneral
Jump to latest
#1Craig White
craigwhite@azapple.com

strugging to import

I connect and am on the command line but I don't think I am in the right
schema. I have looked through the /h /? but can't seem to figure out how
to change to

database: th-db
schema: db

version: # rpm -q postgresql
postgresql-7.4.8-1.RHEL4.1

Craig

#2Chris
dmagick@gmail.com
In reply to: Craig White (#1)
Re: command line

Craig White wrote:

strugging to import

I connect and am on the command line but I don't think I am in the right
schema. I have looked through the /h /? but can't seem to figure out how
to change to

database: th-db
schema: db

version: # rpm -q postgresql
postgresql-7.4.8-1.RHEL4.1

You'll need to change your search path:

set search_path to myschema;

http://www.postgresql.org/docs/8.1/static/ddl-schemas.html

--
Postgresql & php tutorials
http://www.designmagick.com/