Re: command line - Mailing list pgsql-general

From Chris
Subject Re: command line
Date
Msg-id 447E4DC1.20902@gmail.com
Whole thread Raw
In response to command line  (Craig White <craigwhite@azapple.com>)
List pgsql-general
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/

pgsql-general by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: UTF-8 context of BYTEA datatype??
Next
From: Chris
Date:
Subject: Re: Moving Postgres Database