Connect to a database in a .sql file - Mailing list pgsql-general

From Assad Jarrahian
Subject Connect to a database in a .sql file
Date
Msg-id 4bd3e1480511061706o4b204d2crc29bfd3576e90709@mail.gmail.com
Whole thread Raw
Responses Re: Connect to a database in a .sql file
List pgsql-general
Hi,
  I am writing a .sql file to create a database, connect to it and create tables etc. (basic db setup).
But I cannot figure out how to connect to the server (what statement) in a .sql file.

any help would be appreciated.

-assad

pgsql-general by date:

Previous
From: "Bill Bartlett"
Date:
Subject: Re: Using native win32 psql.exe using alternative cygwin terminal
Next
From: "Carlos Oliva"
Date:
Subject: Re: Setting max_fsm_pages