From efc9a91db954d937e66a4b9273d91c4338886023 Mon Sep 17 00:00:00 2001
From: "Thomas G. Lockhart" <lockhart@fourpalms.org>
Date: Sun, 16 Aug 1998 05:38:41 +0000
Subject: [PATCH] Allow a null pointer to be returned from get_opname().
 Previously, had thrown an error, but looking for alternate strategies  for
 table indices utilization would prefer to continue.

---
 src/backend/utils/cache/lsyscache.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/backend/utils/cache/lsyscache.c b/src/backend/utils/cache/lsyscache.c
index 5829170d74..be8d348e51 100644
--- a/src/backend/utils/cache/lsyscache.c
+++ b/src/backend/utils/cache/lsyscache.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.18 1998/08/11 18:28:18 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.19 1998/08/16 05:38:41 thomas Exp $
  *
  * NOTES
  *	  Eventually, the index information should go through here, too.
@@ -220,7 +220,10 @@ get_opname(Oid opno)
 		return pstrdup(optup.oprname.data);
 	else
 	{
+		/* don't throw an error anymore; we want to continue... */
+#if FALSE
 		elog(ERROR, "can't look up operator %d\n", opno);
+#endif
 		return NULL;
 	}
 }