pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Re: [GENERAL] [HACKERS] retrieve statement from catalogs 2+ messages / 2 participants [nested] [flat]
* Re: [GENERAL] [HACKERS] retrieve statement from catalogs @ 2003-11-07 22:54 David Busby <busby@pnts.com> parent: Jaime Casanova <el_vigia_ec@hotmail.com> 0 siblings, 0 replies; 2+ messages in thread From: David Busby @ 2003-11-07 22:54 UTC (permalink / raw) To: Jaime Casanova <el_vigia_ec@hotmail.com>; pgsql-general@postgresql.org; pgsql-admin; pgsql-hackers@postgresql.org Can you just use the SQL logging and read that file afterwords? /djb ----- Original Message ----- From: "Jaime Casanova" <el_vigia_ec@hotmail.com> To: <pgsql-general@postgresql.org>; <pgsql-admin@postgresql.org>; <pgsql-hackers@postgresql.org> Sent: Friday, November 07, 2003 14:59 Subject: Re: [GENERAL] [ADMIN] [HACKERS] retrieve statement from catalogs > > Hi everybody, can anyone tell me if there's a way to retrieve the select > instruction executed from the catalogs, or maybe via some structure in a > trigger? > > The reason is that i have some selects constructed on-the-fly (just part of > it) and i want to save that in a table in order to know what are the most > used for optimizing them. > > Another reason for doing that is that i don't know all the selects in the > program nor the page and this is an easier solution than examine all the > code. > > thanx in advance, el_vigia > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [GENERAL] [HACKERS] retrieve statement from catalogs @ 2003-11-07 22:59 Jaime Casanova <el_vigia_ec@hotmail.com> 0 siblings, 1 reply; 2+ messages in thread From: Jaime Casanova @ 2003-11-07 22:59 UTC (permalink / raw) To: pgsql-general@postgresql.org; pgsql-admin; pgsql-hackers@postgresql.org Hi everybody, can anyone tell me if there's a way to retrieve the select instruction executed from the catalogs, or maybe via some structure in a trigger? The reason is that i have some selects constructed on-the-fly (just part of it) and i want to save that in a table in order to know what are the most used for optimizing them. Another reason for doing that is that i don't know all the selects in the program nor the page and this is an easier solution than examine all the code. thanx in advance, el_vigia _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-11-07 22:59 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2003-11-07 22:59 Re: [GENERAL] [HACKERS] retrieve statement from catalogs Jaime Casanova <el_vigia_ec@hotmail.com> 2003-11-07 22:54 ` David Busby <busby@pnts.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