Re: Sample databases

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Tommy Gibbons <tomgig(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Sample databases
Date: 2008-09-29 22:09:55
Message-ID: 48E15233.6000602@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 29/09/2008 23:03, Tommy Gibbons wrote:

> 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.

You use psql to load them:

psql -U <user> -f <file> <database>

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Rowley 2008-09-29 22:11:04 Re: Sample databases
Previous Message Tommy Gibbons 2008-09-29 22:03:04 Sample databases