*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.73 1999/05/17 00:19:12 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.74 1999/05/17 00:27:45 momjian Exp $
*
*
* INTERFACE ROUTINES
*/
ReleaseRelationBuffers(userindexRelation);
- if (smgrunlink(userindexRelation) != SM_SUCCESS)
+ if (smgrunlink(DEFAULT_SMGR, userindexRelation) != SM_SUCCESS)
elog(ERROR, "amdestroyr: unlink: %m");
index_close(userindexRelation);