[GENERAL] create trigger : functions

2000-12-14 Thread Sandeep Joshi

Hi,
   I have written a 'C' function to be called during INSERT trigger on a
table.

   Are there any restrictions on the functions that can be called?

   I know you can call SPI_* functions. But, can I call PQ*  functions ?
e.g PQsetdb.

   Is there any document which describes how the functions written for
trigger are executed?
Do they executed within the same process as server process or another
process is started to execute the commands?

regards,

Sandeep




[HACKERS] redundancy and disk i/o

2000-12-03 Thread Sandeep Joshi

Hi,
I have two questions

1. Is it possible to set up a set of redundant disks for a database? one

of them being remote from
the database?


2. If I want to use my i/o routines for disk i/o, is it possible?
does postgres support such APIs?




thanks,
Sandeep