pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedWhich queries have run query trace form .exe.
2+ messages / 2 participants
[nested] [flat]
* Which queries have run query trace form .exe.
@ 2019-01-07 12:52 Vimal Kanzariya <vimal.k@droisys.com>
0 siblings, 1 reply; 2+ messages in thread
From: Vimal Kanzariya @ 2019-01-07 12:52 UTC (permalink / raw)
To: pgsql-general; +Cc: Kailesh Sanghani <kailesh.sanghani@droisys.com>
*Hello,*
I need find out some database operation which is executed form One of the
.exe. I have installed that .exe into my system and once i executed that
.exe it is executed some operation into PostgreSQL 9.5 (version 1.22.1). So
i want to know what operation done by that .exe into which table. is there
any tool or any other way to find out database operation executed form
.exe.?
--
*Thanks*
*Vimal Kanzariya*
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Which queries have run query trace form .exe.
@ 2019-01-07 13:49 Ron <ronljohnsonjr@gmail.com>
parent: Vimal Kanzariya <vimal.k@droisys.com>
0 siblings, 0 replies; 2+ messages in thread
From: Ron @ 2019-01-07 13:49 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On 1/7/19 6:52 AM, Vimal Kanzariya wrote:
> *Hello,*
>
> I need find out some database operation which is executed form One of the
> .exe. I have installed that .exe into my system and once i executed that
> .exe it is executed some operation into PostgreSQL 9.5 (version 1.22.1).
> So i want to know what operation done by that .exe into which table. is
> there any tool or any other way to find out database operation executed
> form .exe.?
Look at the log_* options in postgresql.conf.
https://www.postgresql.org/docs/9.5/runtime-config-logging.html
Here's an example:
log_destination = 'stderr'
logging_collector = on
log_directory = '/Database/9.6/pg_log'
log_filename = 'postgresql-%F_%H.log'
log_truncate_on_rotation = off
log_rotation_age = 1h
log_rotation_size = 0
client_min_messages = log
log_min_messages = info
log_min_error_statement = info
log_line_prefix = '%m %r %u %d %p %i %a %e '
--
Angular momentum makes the world go 'round.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-01-07 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-07 12:52 Which queries have run query trace form .exe. Vimal Kanzariya <vimal.k@droisys.com>
2019-01-07 13:49 ` Ron <ronljohnsonjr@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox