agneum / plan-exporter Goto Github PK
View Code? Open in Web Editor NEWQuery plan exporter for psql
License: MIT License
Query plan exporter for psql
License: MIT License
Sometimes I like to use a service running on my own machine, thus I set --post-url
.
In the next line, the welcome message tells me that the mentioned target is still "depesz".
This is a very minor issue which doesn't really need to be fixed. It's easy to understand that this is not taken into account.
temboard=# \o | plan-exporter --post-url=http://0.0.0.0:5000/new
temboard=# Welcome to the query plan exporter. Target: depesz.
I see 2 options to solve this:
--port-url
option and use --target
all the time. The utility would then check if it's a known target, or would consider it as a URL instead.Is there a way we could use plan-exporter
outside psql
?
My goal: running a query which is saved in a file.
The command would probably look like:
psql -f my_explain_file.sql | plan-exporter --target=dalibo
Do you see any way I could this working?
As a workaround, what I currently do is:
postgres=# \o | plan-exporter
postgres=# \i my_explain_file.sql
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.