pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Travers <chris@travelamericas.com>
To: pgsql-sql@postgresql.org
Subject: How to determine the currently logged on username
Date: Fri, 18 Jul 2003 06:41:35 -0700
Message-ID: <3F17F90F.5020403@travelamericas.com> (raw)

Hi all;

I will be writing a stored proceedure that will allow a currently logged 
in user to change his/her password.  The function needs to be only able 
to change the password of the currently logged in user, so it will only 
take a varchar() argument and needs to look up the username of the 
currently logged in user.  How do I do this?  Any ideas?

Best Wishes,
Chris Travers





view thread (2+ messages)  latest in thread

Message-ID: <3F17F90F.5020403@travelamericas.com>
Permalink:  ../3F17F90F.5020403@travelamericas.com/
Also on:    postgresql.org/message-id/3F17F90F.5020403@travelamericas.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: chris@travelamericas.com
  Subject: Re: How to determine the currently logged on username
  In-Reply-To: <3F17F90F.5020403@travelamericas.com>

* 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