Re: Connect to a database in a .sql file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Assad Jarrahian <jarraa(at)gmail(dot)com>
Cc: Klint Gore <kg(at)kgb(dot)une(dot)edu(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: Connect to a database in a .sql file
Date: 2005-11-08 14:23:24
Message-ID: 5052.1131459804@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Assad Jarrahian <jarraa(at)gmail(dot)com> writes:
> \c does not work in .sql script run in psql.

Nonsense. Try it again, and show us exactly what you did and what
message you got, rather than leaping to silly conclusions.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-11-08 14:31:34 Re: Connect to a database in a .sql file
Previous Message Gerard O Connor 2005-11-08 14:09:43 Re: [ANNOUNCE] PostgreSQL 8.1.0 Release Candidate 1