Re: Pl/pgsql import

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Jim Beckstrom <jrbeckstrom(at)sbcglobal(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Pl/pgsql import
Date: 2005-12-07 13:37:20
Message-ID: 702D7DA1-E5D8-472F-8C06-7A18FDBD1567@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Dec 2, 2005, at 6:09 PM, Jim Beckstrom wrote:

> How do import/copy externally created pl/pgsql code into my
> database?

Use psql. Something like:

psql -f /path/to/file.sql db_name

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

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Andreas Seltenreich 2005-12-07 13:53:17 Re: How to see detailed plan of a funciton
Previous Message Neil Saunders 2005-12-07 10:48:47 Re: Coordinates question