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

Re: dbsamples from pgfoundry

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: dbsamples from pgfoundry
Date: 2008-09-30 06:52:38
Message-ID: 20080930065238.GA19195@a-kretschmer.de (view raw or flat)
Thread:
Lists: pgsql-general
am  Mon, dem 29.09.2008, um 22:52:52 +0100 mailte Tommy Gibbons folgendes:
> Hi,
> I would like some pointers as to how to install the dbsamples so that I can use
> them in Postgres.  These .tar.qz files seem to contain *.sql files.  These seem
> to be text files but I do not understand how to import to postgres or if there
> is some command line command to run.

Use psql for that, either within psql with \i or call psql with option
-f file.sql


HTH, Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

In response to

pgsql-general by date

Next:From: r_mustaDate: 2008-09-30 06:55:46
Subject: Re: Counting unique rows as an aggregate.
Previous:From: Craig RingerDate: 2008-09-30 05:49:27
Subject: ODBC driver crash

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