Gossamer Forum
Home : General : Databases and SQL :

Help required on create function in postgres

Quote Reply
Help required on create function in postgres
Hi there,

I have a question about the create function utility in postgres. I am trying to write a program in C which I can invoke using an sql command. In the funtion, I want to be able to run through the whole table I am passing as input into the function without going back - in other words, if I get a pointer to the first tuple in the table passed into function, I want to move onto the next tuple from within the function and run through the table in that way. Is there a way to do this ?

Thanks,

-S