specialAttNum() * * Check attribute name to see if it is "special", e.g. "xmin". * - thomas 2000-02-07 * * Note: this only discovers whether the name could be a system attribute. * Caller needs to ensure that it really is an attribute of the rel. */
| 3763 | * Caller needs to ensure that it really is an attribute of the rel. |
| 3764 | */ |
| 3765 | static int |
| 3766 | specialAttNum(const char *attname) |
| 3767 | { |
| 3768 | const FormData_pg_attribute *sysatt; |
| 3769 | |
| 3770 | sysatt = SystemAttributeByName(attname); |
| 3771 | if (sysatt != NULL) |
| 3772 | return sysatt->attnum; |
| 3773 | return InvalidAttrNumber; |
| 3774 | } |
| 3775 | |
| 3776 | |
| 3777 | /* |
no test coverage detected