Comments (4)
On Thu, May 23, 2013 at 1:08 PM, samthakur74 [email protected]:
Hello,
Clearly i am doing something incorrect. I copied the pg_stat_plans folder
structure under contrib of my PostgreSQL 9.2.3 instance, which i have built
from source.You don't need pg_stat_plans in postgres 9.2, you have the contrib module
pg_stat_statements which the original and full feature for this.
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157
from pg_stat_plans.
i thought pg_stat_plans also provides query plan information like planning
time for a query. Did not see planning time provided by pg_stat_statements.
Thank you
Sameer
On Fri, May 24, 2013 at 4:10 AM, Jaime2ndQuadrant
[email protected]:
On Thu, May 23, 2013 at 1:08 PM, samthakur74 [email protected]:
Hello,
Clearly i am doing something incorrect. I copied the pg_stat_plans
folder
structure under contrib of my PostgreSQL 9.2.3 instance, which i have
built
from source.You don't need pg_stat_plans in postgres 9.2, you have the contrib
module
pg_stat_statements which the original and full feature for this.Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157—
Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-18376400
.
from pg_stat_plans.
Installing postgresql-devel for 8.4 when you're using 9.2 compiled from source will not work, it'll just cause chaos and confusion.
What you should do is:
- uninstall postgresql-devel, you do not need it if you built from source
- Set your PATH so that when you run "pg_config --version" you get 9.2, not 8.4. PATH must include the directory containing pg_config, usually the same one that contains psql etc.
- cd to the pg_stat_plans dir and
make clean
make
andsudo make install
.
It doesn't matter where pg_stat_plans
is, it always uses PGXS
rather than integrating into the build tree. Copying it under contrib
has no effect.
It is my understanding that pg_stat_plans
does have some additional timing info available in 9.2, though I haven't had cause to look into it myself yet.
from pg_stat_plans.
Thanks for a clear response. Got it working now!
On Fri, May 24, 2013 at 10:14 AM, Craig Ringer [email protected]:
Installing postgresql-devel for 8.4 when you're using 9.2 compiled from
source will not work, it'll just cause chaos and confusion.What you should do is:
uninstall postgresql-devel, you do not need it if you built from source
Set your PATH so that when you run "pg_config --version" you get 9.2,
not 8.4. PATH must include the directory containing pg_config, usually the
same one that contains psql etc.cd to the pg_stat_plans dir and make clean make and sudo make install.
It doesn't matter where pg_stat_plans is, it always uses PGXS rather than
integrating into the build tree. Copying it under contrib has no effect.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-18386341
.
from pg_stat_plans.
Related Issues (20)
- pg_find_plans lacks debian installation infrastructure HOT 4
- GUC support broken in Postgres 9.1? HOT 2
- Prepared statement detection bit spotty HOT 1
- Queries covering deleted relations HOT 4
- Problems with queries using the earthdistance extension HOT 8
- Query string truncation/off by one error when explaining some queries? HOT 6
- Plan information for child nodes
- Node level plan statistics
- Issues when building debian packages with pgxs.mk from Postgres 9.2 HOT 2
- Change extensions layout HOT 5
- RFC: IN list compaction for normalized_query
- escaped single quotes in search expression cause multiple placeholders in normalized_query
- Error while building debian package: pg_stat_plans/debian/control doesn't list any binary package HOT 1
- Bug revalidating or updating the query text of a plan with an explain clause
- make fails in pgsp_ProcessUtility on PostgreSQL 9.3.2 HOT 1
- pg_stat_plans_explain can cause unexpected query invocation on multistatement query strings
- 9.4 / 9.5 / 9.6? HOT 5
- How to install pg_stat_plans/pg_find_plans in Postgres when it runs on Windows ?
- [proposal] adding planid to pg_stat_statements HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg_stat_plans.