Change md* call to smgr*.
authorBruce Momjian <[email protected]>
Mon, 17 May 1999 00:19:12 +0000 (00:19 +0000)
committerBruce Momjian <[email protected]>
Mon, 17 May 1999 00:19:12 +0000 (00:19 +0000)
src/backend/catalog/index.c

index a3a09ff57fae4288963060c91b1a6c66384aec6f..2eca6a614e4b9cd8571ae9efb72e9f56210984c2 100644 (file)
@@ -1187,7 +1187,7 @@ index_destroy(Oid indexId)
         */
        ReleaseRelationBuffers(userindexRelation);
 
-       if (mdunlink(userindexRelation) != SM_SUCCESS)
+       if (smgrunlink(userindexRelation) != SM_SUCCESS)
                elog(ERROR, "amdestroyr: unlink: %m");
 
        index_close(userindexRelation);