Re: command line

From: Chris <dmagick(at)gmail(dot)com>
To: Craig White <craigwhite(at)azapple(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: command line
Date: 2006-06-01 02:15:29
Message-ID: 447E4DC1.20902@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2006-06-01 02:18:07 Re: Moving Postgres Database
Previous Message Greg Sabino Mullane 2006-06-01 02:00:09 Re: UTF-8 context of BYTEA datatype??