From 2f47715cc8649f854b1df28dfc338af9801db217 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 27 Sep 2022 12:01:57 -0400 Subject: Move RelFileNumber declarations to common/relpath.h. Previously, these were declared in postgres_ext.h, but they are not needed nearly so widely as the OID declarations, so that doesn't necessarily make sense. Also, because postgres_ext.h is included before most of c.h has been processed, the previous location creates some problems for a pending patch. Patch by me, reviewed by Dilip Kumar. Discussion: http://postgr.es/m/CA+TgmoYc8oevMqRokZQ4y_6aRn-7XQny1JBr5DyWR_jiFtONHw@mail.gmail.com --- src/include/postgres_ext.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/include/postgres_ext.h') diff --git a/src/include/postgres_ext.h b/src/include/postgres_ext.h index c9774fa010e..240ad4e93bf 100644 --- a/src/include/postgres_ext.h +++ b/src/include/postgres_ext.h @@ -46,14 +46,6 @@ typedef unsigned int Oid; /* Define a signed 64-bit integer type for use in client API declarations. */ typedef PG_INT64_TYPE pg_int64; -/* - * RelFileNumber data type identifies the specific relation file name. - */ -typedef Oid RelFileNumber; -#define InvalidRelFileNumber ((RelFileNumber) InvalidOid) -#define RelFileNumberIsValid(relnumber) \ - ((bool) ((relnumber) != InvalidRelFileNumber)) - /* * Identifiers of error message fields. Kept here to keep common * between frontend and backend, and also to export them to libpq -- cgit v1.2.3