Search Postgresql Archives

Re: Re: Modfying source code to read tuples before and after UPDATE...how to?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/05/10 9:23 AM, rmd22 wrote:
Well what i mean by print out is that it should print out the old and new
tuples on postgres terminal after the update is complete.
I tried it with triggers and I got what I wanted. But my professor for some
reason wants me to mess around with the source code :(
Do you think it's possible?

what is the 'postgres terminal' ? its a service, running as a daemon, it has no console normally, just a logfile.


should that only be printing tuples that are committed? that becomes a LOT harder.

a single UPDATE statement can modify a huge number of tuples. also ALTER TABLE statements can modify tuples, and of course INSERT statements create new tuples.



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux