]> granicus.if.org Git - postgresql/commitdiff
Change md* call to smgr*.
authorBruce Momjian <bruce@momjian.us>
Mon, 17 May 1999 00:19:12 +0000 (00:19 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 17 May 1999 00:19:12 +0000 (00:19 +0000)
src/backend/catalog/index.c

index 0754455103e1fa4036ea9a56100ea1ef64c1e570..6cbb61a4d8bce1cc92eb863ecfb9c479744e4b5c 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.72 1999/05/15 22:31:07 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.73 1999/05/17 00:19:12 momjian Exp $
  *
  *
  * INTERFACE ROUTINES
@@ -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);