pgsql: Remove get_attidentity()

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove get_attidentity()
Date: 2018-10-23 12:49:59
Message-ID: E1gEw8F-0006Yy-NQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)paquier(dot)xyz>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5d7c703a44101f0d686fb66f4ff671429f46a84c

Modified Files
--------------
src/backend/commands/tablecmds.c | 15 ++++++++-------
src/backend/parser/parse_utilcmd.c | 5 ++++-
src/backend/utils/cache/lsyscache.c | 32 --------------------------------
src/include/utils/lsyscache.h | 1 -
4 files changed, 12 insertions(+), 41 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-10-24 08:06:48 pgsql: List wait events in alphabetical order
Previous Message Peter Eisentraut 2018-10-23 12:37:35 pgsql: Drop const cast from dlsym() calls