Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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:

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

Michael Glaesemann
grzm myrealbox com

In response to

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group