diff options
author | Andres Freund <andres@anarazel.de> | 2018-03-16 23:13:12 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2018-03-16 23:13:12 -0700 |
commit | f3e4b95edb6cbf0cd41dc9ff0c884bfdc425e6fb (patch) | |
tree | 5afad69f915005ac1b69cae3a3575a92906196ea /src/include/commands/explain.h | |
parent | 9e17bdb8a525ff89c4535cd153dc0f2fa813ea59 (diff) | |
download | postgresql-f3e4b95edb6cbf0cd41dc9ff0c884bfdc425e6fb.tar.gz postgresql-f3e4b95edb6cbf0cd41dc9ff0c884bfdc425e6fb.zip |
Make ExplainPropertyInteger accept 64bit input, remove *Long variant.
'long' is not useful type across platforms, as it's 32bit on 32 bit
platforms, and even on some 64bit platforms (e.g. windows) it's still
only 32bits wide.
As ExplainPropertyInteger should never be performance critical, change
it to accept a 64bit argument and remove ExplainPropertyLong.
Author: Andres Freund
Discussion: https://postgr.es/m/20180314164832.n56wt7zcbpzi6zxe@alap3.anarazel.de
Diffstat (limited to 'src/include/commands/explain.h')
-rw-r--r-- | src/include/commands/explain.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h index 0c3986ae17b..22a2004381b 100644 --- a/src/include/commands/explain.h +++ b/src/include/commands/explain.h @@ -93,10 +93,8 @@ extern void ExplainPropertyListNested(const char *qlabel, List *data, ExplainState *es); extern void ExplainPropertyText(const char *qlabel, const char *value, ExplainState *es); -extern void ExplainPropertyInteger(const char *qlabel, int value, +extern void ExplainPropertyInteger(const char *qlabel, int64 value, ExplainState *es); -extern void ExplainPropertyLong(const char *qlabel, long value, - ExplainState *es); extern void ExplainPropertyFloat(const char *qlabel, double value, int ndigits, ExplainState *es); extern void ExplainPropertyBool(const char *qlabel, bool value, |