X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 04A53DA89F for ; Mon, 21 Nov 2005 19:08:33 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89176-01-7 for ; Mon, 21 Nov 2005 23:08:32 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id 31291DBA09 for ; Mon, 21 Nov 2005 19:07:37 -0400 (AST) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr2.postgresql.org (Postfix) with ESMTP id 93E22F0D57 for ; Mon, 21 Nov 2005 16:44:14 +0000 (GMT) Received: by flake.decibel.org (Postfix, from userid 1001) id 07D8B1525F; Mon, 21 Nov 2005 10:43:42 -0600 (CST) Date: Mon, 21 Nov 2005 10:43:42 -0600 From: "Jim C. Nasby" To: vinod.sadanandan@htcindia.com Cc: pgsql-admin@postgresql.org Subject: Re: Batch Files Message-ID: <20051121164342.GR19279@pervasive.com> References: <05ed01c5ecf9$3c610410$a90110ac@gdcchennai.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05ed01c5ecf9$3c610410$a90110ac@gdcchennai.com> X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.016 required=5 tests=[AWL=0.016] X-Spam-Score: 0.016 X-Spam-Level: X-Archive-Number: 200511/291 X-Sequence-Number: 19664 Well, what's psql -U vinodsr vinodsr show? You should take a look at http://www.postgresql.org/docs/8.1/interactive/client-authentication.html On Sat, Nov 19, 2005 at 04:36:04PM +0530, vinod.sadanandan@htcindia.com wrote: > BlankHii, > > This is vinod DBA in HTC GLOBAL SERVICES ..we have a small issue in running batch files to load data ..I have pasted the script which I am trying to execute it's is constantly failing with an authentication failure > psql -U vinodsr vinodsr < C:\MU\BP_BUSINESS_PARTNER_PARTY.dat > psql -U vinodsr vinodsr < C:\MU\BP_CHANGE_HISTORY.dat > psql -U vinodsr vinodsr < C:\MU\BP_CLASS_TYPE.dat > psql -U vinodsr vinodsr < C:\MU\BP_CLASS.dat > psql -U vinodsr vinodsr < C:\MU\BP_BUSINESS_PARTNER_CLASS.dat > psql -U vinodsr vinodsr < C:\MU\BP_CURRENCY.dat > psql -U vinodsr vinodsr < C:\MU\BP_DELIVERY_PRIORITY_CODE.dat > psql -U vinodsr vinodsr < C:\MU\BP_DEPENDENCY_TYPE.dat > psql -U vinodsr vinodsr < C:\MU\BP_INCOTERM_CODE.dat > psql -U vinodsr vinodsr < C:\MU\BP_PAYMENT_TERM.dat > psql -U vinodsr v > > > could you plz suggest what the possible cause is ?? > Thanks & regards, > > vinod > > > > Thanks & regards, > > vinod > > > > -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461