diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-10-23 14:45:29 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-10-23 14:47:14 +0200 |
commit | 5d7c703a44101f0d686fb66f4ff671429f46a84c (patch) | |
tree | 2b101e37b1756b229a4b3da3a9c4dacb9381e696 /src/include/utils/lsyscache.h | |
parent | c903bb7b1c3ce82e21d6bd1af1dc45a58cd88455 (diff) | |
download | postgresql-5d7c703a44101f0d686fb66f4ff671429f46a84c.tar.gz postgresql-5d7c703a44101f0d686fb66f4ff671429f46a84c.zip |
Remove get_attidentity()
All existing uses can get this information more easily from the
relation descriptor, so the detour through the syscache is not
necessary.
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Diffstat (limited to 'src/include/utils/lsyscache.h')
-rw-r--r-- | src/include/utils/lsyscache.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index 23ed5324b5b..ff1705ad2b8 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -85,7 +85,6 @@ extern Oid get_opfamily_proc(Oid opfamily, Oid lefttype, Oid righttype, int16 procnum); extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok); extern AttrNumber get_attnum(Oid relid, const char *attname); -extern char get_attidentity(Oid relid, AttrNumber attnum); extern Oid get_atttype(Oid relid, AttrNumber attnum); extern void get_atttypetypmodcoll(Oid relid, AttrNumber attnum, Oid *typid, int32 *typmod, Oid *collid); |