diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-07-20 16:57:18 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-07-20 16:57:18 +0000 |
commit | 0da6358f373c2736626b4189a3e7e413e107b9a0 (patch) | |
tree | 686ef135cf4f3cb094b833f1d754e95e4e7766fd /src/backend/access/gist/gist.c | |
parent | 34797d42253d488423b7a86a4a8335786b65cb59 (diff) | |
download | postgresql-0da6358f373c2736626b4189a3e7e413e107b9a0.tar.gz postgresql-0da6358f373c2736626b4189a3e7e413e107b9a0.zip |
Cleanup use of 16 that should be NAMEDATALEN.
Diffstat (limited to 'src/backend/access/gist/gist.c')
-rw-r--r-- | src/backend/access/gist/gist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index efa5286c1f4..5003204df4a 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -1347,7 +1347,7 @@ text_range_out(TXTRANGE *r) if (r == NULL) return (NULL); - result = (char *) palloc(16 + VARSIZE(TRLOWER(r)) + VARSIZE(TRUPPER(r)) + result = (char *) palloc(NAMEDATALEN + VARSIZE(TRLOWER(r)) + VARSIZE(TRUPPER(r)) - 2 * VARHDRSZ); lower = (char *) palloc(VARSIZE(TRLOWER(r)) + 1 - VARHDRSZ); |