command line

Поиск
Список
Период
Сортировка
Искать

command line

От:
Craig 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

Re: command line

От:
Chris <dmagick@gmail.com>
Дата:
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/
FAQ