[HACKERS] Help!:Convert String to relation variable

2003-12-07 Thread NK
Dear Friends,   I am trying to modify the parser of the postgresql so as to print all the columns of a table (or to put them in a seperate file) when the parser meets an Insert Statement. During the parsing, i can have the relation name  ( type: char *) but i cant find the way to get from the name

[HACKERS] Help!:Convert String to relation variable

2003-12-07 Thread NK
Dear Friends,   I am trying to modify the parser of the postgresql so as to print all the columns of a table (or to put them in a seperate file) when the parser meets an Insert Statement. During the parsing, i can have the relation name  ( type: char *) but i cant find the way to get from the name