From: Jorge Maturana <ateo@labsd.inf.utfsm.cl>
To: pgsql-sql@postgresql.org
Subject: Current User
Date: Wed, 11 Nov 1998 20:30:59 -0300 (CDT)
Message-ID: <199811112331.UAA12693@rauli.labsd.inf.utfsm.cl> (raw)
Hi,
I want to have a table to manage a register of the modifications made to
several tables by a group of users, that table should contain the name of the
postgres user that made the modificaction, now, How can I get the name (or
the user id) of the current user logged in?,there are some "pg_currentuser"
table to make a select?
I would thank any help.
--
Jorge Maturana Ortiz
Laboratorio de Sistemas Distribuidos - Departamento de Informatica
Universidad Tecnica Federico Santa Maria, Valparaiso - Chile
mailto:ateo@labsd.inf.utfsm.cl
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: ateo@labsd.inf.utfsm.cl
Subject: Re: Current User
In-Reply-To: <199811112331.UAA12693@rauli.labsd.inf.utfsm.cl>
References: <199811112331.UAA12693@rauli.labsd.inf.utfsm.cl>
* 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