Re: [HACKERS] Nested/recursive query execution

2005-10-22 Thread Martijn van Oosterhout
On Sat, Oct 22, 2005 at 03:41:07PM +0530, Paresh Bafna wrote: > Hi all, > I am new to postgres developement. Want some help. > Can we run nested query in postgres? The answer is yes, although you generally need to use the SPI interface to do it. Among other things it sets up everything to work rec

[HACKERS] Nested/recursive query execution

2005-10-22 Thread Paresh Bafna
Hi all, I am new to postgres developement. Want some help. Can we run nested query in postgres? Means, can I do like - When somequery is being executed (say "create database") it goes through exec_simple_query():backend/tcop/postgres.c (if I am not wrong) then can I call exec_simple_query() from c