Thread: command line

command line

From
Craig White
Date:
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


Re: command line

From
Chris
Date:
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/