Notify postmaster crash??

Поиск
Список
Период
Сортировка
От HK
Тема Notify postmaster crash??
Дата
Msg-id Pine.LNX.4.33.0306171455550.17650-100000@mallard.midascomm.com
обсуждение исходный текст
Список pgsql-novice
Hi all,
  I am using Postgres 7.1.3 with RH 7.2. I am a newbie to database and
Postgres.

1) I am connecting to Postmaster from a C application via libpq.
   If during the execution of the program, postmaster crashes, is there
   any way to detect that in the C program.

2) Is there anything provided for executing user defined scripts during
   postmaster bootup. The requirement is i want to raise an alarm if some
   critical table in the database got corrupted.

TIA.

--
regards,
hari
      __
     / /    __  _  _  _  _ __  __         -o)
    / /__  / / / \\// //_// \\ \\/ /         /\\\\  Making things happen
   /____/ /_/ /_/\\/ /___/  /_/\\_\\        _\\_v-

-------------------------------------------------------------------
Midas Communications (p) Ltd,
Chennai.
Ph (O) 24512050. Extn : 321
Ph (R) 26161105.


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Sequence-table association
Следующее
От: Rory Campbell-Lange
Дата:
Сообщение: use cursor in a function