Re: createdb Question

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: <operationsengineer1(at)yahoo(dot)com>
Cc: PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: createdb Question
Date: 2005-11-16 22:14:23
Message-ID: C1F859EE-E719-4780-844A-36083CFB7330@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Nov 17, 2005, at 2:25 , <operationsengineer1(at)yahoo(dot)com> wrote:

> psql -d foo2 -f foo-dump.sql
>
> is different from the manual's:
>
> psql -e foo < foo-dump.sql
>
> can you please briefly explain the nuances at work
> here? i didn't find any pg-dump reference to your use
> of the -f flag or the manual's use of the -e flag.

That's because they're psql flags:

http://www.postgresql.org/docs/8.1/interactive/app-psql.html

Using the -f flag will include line numbers in its output which I
find helpful.

Michael Glaesemann
grzm myrealbox com

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message George Weaver 2005-11-16 22:59:06 Problem getting xml2 contrib module working with 8.1
Previous Message Obe, Regina DND\MIS 2005-11-16 22:11:19 Re: Application using PostgreSQL as a back end (experien