Re: Postgresql to Delphi

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Postgresql to Delphi
Дата
Msg-id 460040CD.9000700@archonet.com
обсуждение исходный текст
Ответ на Postgresql to Delphi  (Bob Pawley <rjpawley@shaw.ca>)
Список pgsql-general
Bob Pawley wrote:
> Hi
>
> I have posed this question to the Delphi list but they don't appear
> to be able to help.
>
> I am attempting to have the information in a PostgreSQL database
> table trigger a function in Delphi.

Not sure what the Delphi stuff was on about - not my field. You've
basically got three options for triggering events though:
1. Poll from the client app
2. LISTEN/NOTIFY
3. Some privileged procedural function that writes to a file or sends a
packet etc.

Polling is inefficient, and doesn't sound responsive enough for you.
LISTEN/NOTIFY might be the best bet if your drivers can support it.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: brian
Дата:
Сообщение: select progressive total
Следующее
От: Bob Pawley
Дата:
Сообщение: Re: Postgresql to Delphi