Current User

From: Jorge Maturana <ateo(at)labsd(dot)inf(dot)utfsm(dot)cl>
To: pgsql-sql(at)postgresql(dot)org
Subject: Current User
Date: 1998-11-11 23:30:59
Message-ID: 199811112331.UAA12693@rauli.labsd.inf.utfsm.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)labsd(dot)inf(dot)utfsm(dot)cl

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Charles-Edouard Ruault 1998-11-12 21:15:00 identity keyword
Previous Message pierre 1998-11-11 01:20:32 Using lower in create index