Question on example found at src/test of libpqxx 3.0

Поиск
Список
Период
Сортировка
От Matheus Araújo Aguiar
Тема Question on example found at src/test of libpqxx 3.0
Дата
Msg-id be0c36d90908031128p5d13ffa5kf755521727a4a4c0@mail.gmail.com
обсуждение исходный текст
Ответы Re: Question on example found at src/test of libpqxx 3.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
Hello list,

I've started using libpqxx some days ago and had no problem doing the basic stuff so far... Right now i'm trying to code a simple test program to do something when it receives a notification from the db. I was looking into examples provided in the src/test directory of my libpqxx 3.0 installation, specifically test004.cxx file. There i can see a class named TestListener wich inherits from class notify_listener. Since i couldn't find the latter class on the documentation, i assume it doesn't exist and it's just for demo. Am i correct assuming that? If so, what would this class be? A trigger? A transactor?
Any directions regarding better understanding of notify/listen would be appreciated.

Thanx!
--
Matheus Araújo Aguiar
Computer Scientist
matheus.pit@gmail.com

В списке pgsql-docs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: New man page toolchain
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Question on example found at src/test of libpqxx 3.0