Identify user requested queries - Mailing list pgsql-hackers

From Praveen M
Subject Identify user requested queries
Date
Msg-id CAP2CR47gsezX2nGCoMXg3TQLAzRPfAPpbQxkoQTWY_Fav1cPaQ@mail.gmail.com
Whole thread Raw
Responses Re: Identify user requested queries  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
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? 

Also what procedure or function in the code that indicates the user can write queries , something like I wanted to know the code where the connection is created and available for user to use.

Please Help!!

Praveen

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: custom function for converting human readable sizes to bytes
Next
From: Craig Ringer
Date:
Subject: Re: SPI and transactions