Received: from bsd.post.comstar.ru (bsd.post.comstar.ru [195.210.131.10]) by hub.org (8.8.8/8.7.5) with ESMTP id AAA11186 for ; Wed, 17 Jun 1998 00:57:07 -0400 (EDT) Message-ID: <35874CD9.4C0A9BBC@post.comstar.ru> Date: Wed, 17 Jun 1998 08:58:01 +0400 From: Dim Zegebart Reply-To: zager@post.comstar.ru Organization: Comstar Ltd. X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: GABRIEL MORALES CRIBILLERO CC: pgsql-sql@postgreSQL.org Subject: Re: [SQL] psql References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit GABRIEL MORALES CRIBILLERO wrote: > Hi,I have a problem. I hope someone can help me > Then, here we go: > - I have to make a C program that can conecct to a DataBase using > "PSQL". > -I do:"system("psql grp_xxx");". > but it request the password and the user. > > Then How can I give by command line using "psql" the password and user. > Do I have to modified the Enviroment Variables} > if then How? Try to 'man pgintro' It has a lot of information about user authentication. -- ____ ____ | \ / Dim Zegebart ____/____ Moscow Russia WWW - http://www.geocities.com/siliconvalley/pines/7817 DZcomm - comm library for Allegro Palantir - multitasking kernel for Allegro (based on PDMLWP)