How can reception message from database Postgresql 8 in application write in Lazarus?
For example: user send comand for delete record, and in Postgrsql 8 in triger DELETE, for this record, appli RAISE EXCEPTION 'Operatiune message.....!';
How can reception this message in Lazarus application when use Zeoslib components?
Tanks very much!
Postgresql reception message from database
Moderators: gto, EgonHugeist
-
- Fresh Boarder
- Posts: 1
- Joined: 05.12.2008, 09:24
- Contact:
-
- Senior Boarder
- Posts: 54
- Joined: 30.09.2008, 10:59
LISTEN and NOTIFY are slightly different. I think the OP is talking about RAISE NOTICE and RAISE EXCEPTION which can be used in stored procedures to display messages. See here http://www.postgresql.org/docs/8.3/inte ... sages.html
I thought there was a patch in the testing version which logged these messages to the TZSQLMonitor file. Can't find the forum thread at the moment.
Ben
I thought there was a patch in the testing version which logged these messages to the TZSQLMonitor file. Can't find the forum thread at the moment.
Ben
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
btrewern,
You're talking about
- Topic http://zeos.firmos.at/viewtopic.php?t=2021
- Commit 487 in testing branch (Single feature patch)
- Commit 491 which merged this feature to 6.6-patches
- Release 6.6.4 : already contains this 'feature'
Mark
You're talking about
- Topic http://zeos.firmos.at/viewtopic.php?t=2021
- Commit 487 in testing branch (Single feature patch)
- Commit 491 which merged this feature to 6.6-patches
- Release 6.6.4 : already contains this 'feature'
Mark