Notify postmaster crash??

From: HK <harikrishnan(at)midascomm(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Notify postmaster crash??
Date: 2003-06-17 09:33:50
Message-ID: Pine.LNX.4.33.0306171455550.17650-100000@mallard.midascomm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-novice by date

  From Date Subject
Next Message Rory Campbell-Lange 2003-06-17 10:18:43 use cursor in a function
Previous Message Knut P. Lehre 2003-06-17 05:41:54 returning recordsets/cursors in plpgsql 7.2.1