Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 75F609FA65C for ; Mon, 26 Feb 2007 18:09:11 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 30347-08 for ; Mon, 26 Feb 2007 18:09:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 3B59F9FB466 for ; Mon, 26 Feb 2007 18:09:08 -0400 (AST) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Mon, 26 Feb 2007 22:09:07 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 26 Feb 2007 16:09:06 -0600 Subject: Re: Change Default Database From: Scott Marlowe To: Rommel the iCeMAn Cc: pgsql-sql@postgresql.org In-Reply-To: <00d301c759f1$d61c2e70$b364a8c0@theport.com> References: <00d301c759f1$d61c2e70$b364a8c0@theport.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1172527746.20651.55.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 26 Feb 2007 16:09:06 -0600 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/274 X-Sequence-Number: 27608 On Mon, 2007-02-26 at 16:02, Rommel the iCeMAn wrote: > I seem to be blundering a lot today! I thought I was replying to the entire > list, didn't realize I replied to one person :-) > > Nothing was wrong with my script, I assumed that since it was generated by > pgAdmin that I could run it inside pgAdmin. It works perfectly when I run it > using psql. It is very much like SQL Server's osql command line tool. Thanks > to everyone that helped ... > > So I've learnt three valuable lessons: > > 1. It's better to execute scripts using the command line tool 'psql'. > > 2. Make sure I'm replying to the list and not to an individual. > > 3. Do not post HTML messages!!! :-)) And don't forget number 4. The pgsql mailing lists provide better support than most commercial db companies do. > Thanks again everyone. You're welcome, and considering the weather we're having here in Chicago, I might book a flight to come and visit you down there... :)