pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psql
2+ messages / 2 participants
[nested] [flat]

* psql
@ 1998-06-17 03:34  GABRIEL MORALES CRIBILLERO <a920099n@inform.pucp.edu.pe>
  0 siblings, 1 reply; 2+ messages in thread

From: GABRIEL MORALES CRIBILLERO @ 1998-06-17 03:34 UTC (permalink / raw)
  To: 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    





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [SQL] psql
@ 1998-06-17 04:58  Dim Zegebart <zager@post.comstar.ru>
  parent: GABRIEL MORALES CRIBILLERO <a920099n@inform.pucp.edu.pe>
  0 siblings, 0 replies; 2+ messages in thread

From: Dim Zegebart @ 1998-06-17 04:58 UTC (permalink / raw)
  To: GABRIEL MORALES CRIBILLERO <a920099n@inform.pucp.edu.pe>; +Cc: 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)





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-06-17 04:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-06-17 03:34 psql GABRIEL MORALES CRIBILLERO <a920099n@inform.pucp.edu.pe>
1998-06-17 04:58 ` Dim Zegebart <zager@post.comstar.ru>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox