pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dim Zegebart <zager@post.comstar.ru>
To: GABRIEL MORALES CRIBILLERO <a920099n@inform.pucp.edu.pe>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] psql
Date: Wed, 17 Jun 1998 08:58:01 +0400
Message-ID: <35874CD9.4C0A9BBC@post.comstar.ru> (raw)
References: <Pine.LNX.3.96.980616223255.18602A-100000@inform.pucp.edu.pe>



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)





view thread (2+ messages)

Message-ID: <35874CD9.4C0A9BBC@post.comstar.ru>
Permalink:  ../35874CD9.4C0A9BBC@post.comstar.ru/
Also on:    postgresql.org/message-id/35874CD9.4C0A9BBC@post.comstar.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: zager@post.comstar.ru, a920099n@inform.pucp.edu.pe
  Subject: Re: [SQL] psql
  In-Reply-To: <35874CD9.4C0A9BBC@post.comstar.ru>
  References: <Pine.LNX.3.96.980616223255.18602A-100000@inform.pucp.edu.pe> <35874CD9.4C0A9BBC@post.comstar.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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