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 630E9D1B43D for ; Mon, 29 Dec 2003 20:49:34 +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 75907-07 for ; Mon, 29 Dec 2003 16:48:47 -0400 (AST) Received: from cog-mail.csi (mail.cognitive.com [12.45.111.163]) by svr1.postgresql.org (Postfix) with ESMTP id 1023BD1B437 for ; Mon, 29 Dec 2003 16:48:45 -0400 (AST) Received: from [67.164.160.155] (172.31.3.11 [172.31.3.11]) by cog-mail.csi with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id ZNDZJDZT; Mon, 29 Dec 2003 13:49:35 -0700 User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Mon, 29 Dec 2003 13:49:00 -0700 Subject: How to use psql -c? From: Charles Haron To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/325 X-Sequence-Number: 11831 Hello, Can someone give me an example of how to use the -c option of psql? I can't seem to get it to work. Thanks, Chuck