psql - Mailing list pgsql-sql

From GABRIEL MORALES CRIBILLERO
Subject psql
Date
Msg-id Pine.LNX.3.96.980616223255.18602A-100000@inform.pucp.edu.pe
Whole thread Raw
List pgsql-sql
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?

thanks a lot!

p.s:sorry for my english



pgsql-sql by date:

Previous
From: lynch@lscorp.com (Richard Lynch)
Date:
Subject: Re: [SQL] cast text as date
Next
From: Dim Zegebart
Date:
Subject: Re: [SQL] psql