It is somewhat annoying to type EXPLAIN (ANALYZE, BUFFERS, VERBOSE)
in psql
tool every time you tune queries.
So, is there a way to define an aliases (autocompletable ones would be very nice) in psql
similar to the way it is in bash
?
E.g. FULLEXPLAIN SELECT * FROM pg_stat;
results into EXPLAIN (ANALYZE, BUFFERS, VERBOSE) SELECT * FROM pg_stat;