Connect to a database in a .sql file

From: Assad Jarrahian <jarraa(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Connect to a database in a .sql file
Date: 2005-11-07 01:06:11
Message-ID: 4bd3e1480511061706o4b204d2crc29bfd3576e90709@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reid Thompson 2005-11-07 01:52:43 Re: Using native win32 psql.exe using alternative cygwin
Previous Message Carlos Oliva 2005-11-07 01:05:29 Re: Setting max_fsm_pages