Re: [HACKERS] New Developer's FAQ item - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] New Developer's FAQ item
Date
Msg-id 199808190431.AAA06779@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] New Developer's FAQ item  (Brook Milligan <brook@trillium.NMSU.Edu>)
List pgsql-hackers
>    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)

pgsql-hackers by date:

Previous
From: Brook Milligan
Date:
Subject: Re: [HACKERS] New Developer's FAQ item
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] weird problem with latest cvs