dbsamples from pgfoundry

Started by Tommy Gibbonsover 17 years ago2 messagesgeneral
Jump to latest
#1Tommy Gibbons
tomgig@gmail.com

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.

These samples are on
http://www.postgresql.org/ftp/projects/pgFoundry/dbsamples/

Tommy.

#2A. Kretschmer
andreas.kretschmer@schollglas.com
In reply to: Tommy Gibbons (#1)
Re: dbsamples from pgfoundry

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