On Jul 14, 2005, at 1:55 AM, Don Parris wrote:
> Is this possible with PGSQL? Can I do this, for instance:
> psql -W mydb < /file/path/batchfile.sql
>
> and get all my tables created?
>
> Or is this why there are a dozen languages for server programming? If
> redirecting the input from a batchfile is possible, please point me to
> the right documentation.. If not, I'll go back to the languages
> section of the manual. Many thanks in advance.
Yes, PostgreSQL has command line tool like mysql. The manual location
is:
http://www.postgresql.org/docs/8.0/interactive/app-psql.html
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL