From: | Dim Zegebart <zager(at)post(dot)comstar(dot)ru> |
---|---|
To: | GABRIEL MORALES CRIBILLERO <a920099n(at)inform(dot)pucp(dot)edu(dot)pe> |
Cc: | pgsql-sql(at)postgreSQL(dot)org |
Subject: | Re: [SQL] psql |
Date: | 1998-06-17 04:58:01 |
Message-ID: | 35874CD9.4C0A9BBC@post.comstar.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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)
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Colagio | 1998-06-17 05:33:29 | [SQL] Time related question... |
Previous Message | GABRIEL MORALES CRIBILLERO | 1998-06-17 03:34:36 | psql |