Re: [HACKERS] execute sql commands in core

2010-01-05 Thread Tom Lane
Robert Haas writes: > On Tue, Jan 5, 2010 at 12:56 AM, black light wrote: >> In fact, i want to add a table to system catalog and SELECT/UPDATE it from >> auth.c. > If you are considering proposing your patch for inclusion in the > PostgreSQL upstream sources, you should first discuss why you ar

Re: [HACKERS] execute sql commands in core

2010-01-05 Thread Robert Haas
On Tue, Jan 5, 2010 at 12:56 AM, black light wrote: > Hi, > I want to add some hard-wired extra authentication codes in my PG. The only > problem is how to access tables to get/change information from core > (auth.c)? > I have changed the SPI functions to use them but it was not effective (lots >

[HACKERS] execute sql commands in core

2010-01-04 Thread black light
Hi, I want to add some hard-wired extra authentication codes in my PG. The only problem is how to access tables to get/change information from core (auth.c)? I have changed the SPI functions to use them but it was not effective (lots of different errors!) In fact, i want to add a table to system ca