diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-08-22 18:24:26 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-08-22 18:24:26 +0000 |
commit | a54075a6d6df36f4c676486b4711ccfc650bf5e2 (patch) | |
tree | 06f95f3ebba713e52fd7a61404d9b012b58e4e76 /src/backend/access/gist/gistscan.c | |
parent | 38a4c3511695c21be936c0c278daf9a67ec12b2c (diff) | |
download | postgresql-a54075a6d6df36f4c676486b4711ccfc650bf5e2.tar.gz postgresql-a54075a6d6df36f4c676486b4711ccfc650bf5e2.zip |
Update GiST for new pg_opclass arrangement (finally a clean solution
for haskeytype). Update GiST contrib modules too. Add linear-time split
algorithm for R-tree GiST opclass.
From Oleg Bartunov and Teodor Sigaev.
Diffstat (limited to 'src/backend/access/gist/gistscan.c')
-rw-r--r-- | src/backend/access/gist/gistscan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/access/gist/gistscan.c b/src/backend/access/gist/gistscan.c index 9358692a53c..2b65321b038 100644 --- a/src/backend/access/gist/gistscan.c +++ b/src/backend/access/gist/gistscan.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/gist/gistscan.c,v 1.38 2001/07/15 22:48:15 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/gist/gistscan.c,v 1.39 2001/08/22 18:24:26 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -234,6 +234,8 @@ gistendscan(PG_FUNCTION_ARGS) { gistfreestack(p->s_stack); gistfreestack(p->s_markstk); + if ( p->giststate != NULL ) + freeGISTstate( p->giststate ); pfree(s->opaque); } |