Re: [HACKERS] Identify user requested queries

2015-11-23 Thread Praveen M
Praveen On Mon, Nov 23, 2015 at 2:16 AM, Craig Ringer wrote: > On 23 November 2015 at 13:27, Praveen M wrote: > >> Hi All, >> >> When the user attempts to make a connection with the database , the code >> will look into various pg_catalog tables internally. However

[HACKERS] Identify user requested queries

2015-11-22 Thread Praveen M
Hi All, When the user attempts to make a connection with the database , the code will look into various pg_catalog tables internally. However the user also can query the pg_catalog tables. Is there a way to identify the user requested (or typed query) vs the system requested (internal) queries? A

[HACKERS] CreateFunction Statement

2015-11-20 Thread Praveen M
Hi All, I am trying to get the schema name of the create function call from the parse tree. When I look at the structure of the CreateFunctionStmt , I do not see the schemaname information . Can you please help me to understand how to extract the schema name for the function. typedef struct Creat

[HACKERS] Need to print the raw_parse_tree in the Log file

2015-11-07 Thread Praveen M
Hi All, I would like to print the raw parse tree into the log . Is there any internal utility function to achieve this. If there is none , can you please help me to achieve this. Thanks as always Praveen

[HACKERS] Eclipse Help

2015-10-13 Thread Praveen M
Hi All, I was able to follow the debugging of the child process using this link, https://wiki.postgresql.org/wiki/Working_with_Eclipse As per the notes , I was able to set breakpoints and everything seem to be working (hopefully). However I am not able to see the debug messages in the eclipse con