Commit 054cae81 authored by Bruce Momjian's avatar Bruce Momjian

Change md* call to smgr*.

parent fecb2b00
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 * INTERFACE ROUTINES
...@@ -1187,7 +1187,7 @@ index_destroy(Oid indexId) ...@@ -1187,7 +1187,7 @@ index_destroy(Oid indexId)
*/ */
ReleaseRelationBuffers(userindexRelation); ReleaseRelationBuffers(userindexRelation);
if (mdunlink(userindexRelation) != SM_SUCCESS) if (smgrunlink(userindexRelation) != SM_SUCCESS)
elog(ERROR, "amdestroyr: unlink: %m"); elog(ERROR, "amdestroyr: unlink: %m");
index_close(userindexRelation); index_close(userindexRelation);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment