* SearchSysCacheExistsAttName * * As above, an attisdropped-aware version of SearchSysCacheExists. */
| 1536 | * As above, an attisdropped-aware version of SearchSysCacheExists. |
| 1537 | */ |
| 1538 | bool |
| 1539 | SearchSysCacheExistsAttName(Oid relid, const char *attname) |
| 1540 | { |
| 1541 | HeapTuple tuple; |
| 1542 | |
| 1543 | tuple = SearchSysCacheAttName(relid, attname); |
| 1544 | if (!HeapTupleIsValid(tuple)) |
| 1545 | return false; |
| 1546 | ReleaseSysCache(tuple); |
| 1547 | return true; |
| 1548 | } |
| 1549 | |
| 1550 | |
| 1551 | /* |
no test coverage detected