Guillaume =?ISO-8859-1?Q?L=E9mery?= <glemery@comclick.com> writes:
> So, I was wondering if it is possible to write C function, compiled as
> .so which can perform SQL queries such as SELECT or UPDATE ?
See the SPI features. I'm not convinced this will give you any huge
performance increase, however, since you still need to get the data
in and out somehow.
regards, tom lane