Search Postgresql Archives

Re: a few doubts regarding postgres

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

 




On Feb 11, 2005, at 7:47 AM, Shridhar Daithankar wrote:

On Friday 11 Feb 2005 6:01 pm, Surabhi Ahuja wrote:
 does postgres support notifications.

for eg. through one connection to the server, i begin a transaction and i
do inserts there. in another sessions, i want to get notified that inserts
are taking place in someother session. please help.

Umm.. out of box, I don't think so. May be some triggers etc. can be placed
for information..Can you describe what you are trying to achieve?

I think NOTIFY/LISTEN should do this just fine, but you won't get the notification unless the transaction where NOTIFY gets called is committed.


http://www.postgresql.org/docs/8.0/interactive/sql-notify.html

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

[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