diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-05-04 21:29:53 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-05-04 21:29:53 +0000 |
commit | d2a4a4069f1677d74267c04d558a8be83a382098 (patch) | |
tree | 9ff818c24437a2b3594e75b8ecc2116e2c8edce8 /src/include/utils/tuplesort.h | |
parent | c7464720a33240db41a16d3a675d640aa361d7a5 (diff) | |
download | postgresql-d2a4a4069f1677d74267c04d558a8be83a382098.tar.gz postgresql-d2a4a4069f1677d74267c04d558a8be83a382098.zip |
Add a line to the EXPLAIN ANALYZE output for a Sort node, showing the
actual sort strategy and amount of space used. By popular demand.
Diffstat (limited to 'src/include/utils/tuplesort.h')
-rw-r--r-- | src/include/utils/tuplesort.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/utils/tuplesort.h b/src/include/utils/tuplesort.h index c736896a9a9..b522c3ef7b6 100644 --- a/src/include/utils/tuplesort.h +++ b/src/include/utils/tuplesort.h @@ -13,7 +13,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/tuplesort.h,v 1.26 2007/05/04 01:13:45 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/tuplesort.h,v 1.27 2007/05/04 21:29:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -74,6 +74,8 @@ extern bool tuplesort_getdatum(Tuplesortstate *state, bool forward, extern void tuplesort_end(Tuplesortstate *state); +extern char *tuplesort_explain(Tuplesortstate *state); + extern int tuplesort_merge_order(long allowedMem); /* |