pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Khangelani Gama <kgama@argility.com>
To: pgsql-admin@postgresql.org
Subject: Update actions (with user name) inside PostgreSQL DB - any version on postgreSQL
Date: Wed, 14 Mar 2012 12:44:54 +0200
Message-ID: <8ecc4155e8754edef35e260a60a4a8db@mail.gmail.com> (raw)

Hi





Is it possible to have an update query that will specify actions,
timestamp, user who’s making the update inside the database. Can this be
done without any script but just in the transaction block



Example:



dbtest=# UPDATE table test set t4 = 9 where t1 = 001 then specify
user_name,  timestamp() ;









Thanks in advance



* *

* *

* *

* *

* *

*C O N F I D E N T I A L I T Y   N O T I C E*
The contents of and attachments to this e-mail are intended for the
addressee only, and may contain the confidential information of Argility
(Proprietary) Limited and/or its subsidiaries. Any review, use or
dissemination thereof by anyone other than the intended addressee is
prohibited. If you are not the intended addressee please notify the writer
immediately and destroy the e-mail. Argility (Proprietary) Limited and its
subsidiaries distance themselves from and accept no liability for
unauthorised use of their e-mail facilities or e-mails sent other than
strictly for business purposes.





CONFIDENTIALITY NOTICE
The contents of and attachments to this e-mail are intended for the addressee only, and may contain the confidential information of Argility (Proprietary) Limited and/or its subsidiaries. Any review, use or dissemination thereof by anyone other than the intended addressee is prohibited.
If you are not the intended addressee please notify the writer immediately and destroy the e-mail. Argility (Proprietary) Limited and its subsidiaries distance themselves from and accept no liability for unauthorised use of their e-mail facilities or e-mails sent other than strictly for business purposes.


view thread (17+ messages)  latest in thread

Message-ID: <8ecc4155e8754edef35e260a60a4a8db@mail.gmail.com>
Permalink:  ../8ecc4155e8754edef35e260a60a4a8db@mail.gmail.com/
Also on:    postgresql.org/message-id/8ecc4155e8754edef35e260a60a4a8db@mail.gmail.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-admin@postgresql.org
  Cc: kgama@argility.com
  Subject: Re: Update actions (with user name) inside PostgreSQL DB - any version on postgreSQL
  In-Reply-To: <8ecc4155e8754edef35e260a60a4a8db@mail.gmail.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