X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E9CBBD1B481 for ; Mon, 29 Dec 2003 21:07:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 77657-10 for ; Mon, 29 Dec 2003 17:06:31 -0400 (AST) Received: from quality.qadas.com (quality.qadas.com [204.227.16.4]) by svr1.postgresql.org (Postfix) with ESMTP id C5C5AD1B49E for ; Mon, 29 Dec 2003 17:06:12 -0400 (AST) Received: from quality.qadas.com (localhost [127.0.0.1]) by quality.qadas.com (8.12.10/8.12.10) with ESMTP id hBTL6DjH026373; Mon, 29 Dec 2003 14:06:13 -0700 (MST) Received: (from mfuhr@localhost) by quality.qadas.com (8.12.10/8.12.10/Submit) id hBTL6DK0026372; Mon, 29 Dec 2003 14:06:13 -0700 (MST) Date: Mon, 29 Dec 2003 14:06:13 -0700 From: Michael Fuhr To: Charles Haron Cc: pgsql-admin@postgresql.org Subject: Re: How to use psql -c? Message-ID: <20031229140613.A20733@quality.qadas.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from charles.haron@cognitive.com on Mon, Dec 29, 2003 at 01:49:00PM -0700 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/327 X-Sequence-Number: 11833 On Mon, Dec 29, 2003 at 01:49:00PM -0700, Charles Haron wrote: > > Can someone give me an example of how to use the -c option of psql? I can't > seem to get it to work. What are you doing and what are the results? We can't tell you what's wrong unless you show us what you're doing and what's happening. Learning why something doesn't work can be just as useful as learning how to make it work. -- Michael Fuhr http://www.fuhr.org/~mfuhr/