Identify user requested queries

From: Praveen M <thrinz(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Identify user requested queries
Date: 2015-11-23 05:27:11
Message-ID: CAP2CR47gsezX2nGCoMXg3TQLAzRPfAPpbQxkoQTWY_Fav1cPaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2015-11-23 06:34:23 Re: SPI and transactions
Previous Message Pavel Stehule 2015-11-23 04:24:49 Re: custom function for converting human readable sizes to bytes