> I have added this to the developer's FAQ. Any comments or corrections?
>
> 9) How do I efficiently access information in tables from the backend code?
>
> Is all this relevant for writing triggers that have to access tables
> in order to verify/modify a given tuple? Is that even possible? Are
> there any examples?
Yes, I think so. You can check out contrib/spi.
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)