1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Re-add pg_index.indhaskeytype.

This commit is contained in:
Bruce Momjian
2001-05-15 03:49:35 +00:00
parent f756acf8a8
commit ed6998d0b3
4 changed files with 13 additions and 10 deletions

View File

@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.74 2001/05/14 21:53:16 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.75 2001/05/15 03:49:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -1127,6 +1127,7 @@ initGISTstate(GISTSTATE *giststate, Relation index)
elog(ERROR, "initGISTstate: index %u not found",
RelationGetRelid(index));
itupform = (Form_pg_index) GETSTRUCT(htup);
giststate->haskeytype = itupform->indhaskeytype;
indexrelid = itupform->indexrelid;
ReleaseSysCache(htup);