diff options
author | Robert Haas <rhaas@postgresql.org> | 2022-09-27 12:01:57 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2022-09-27 12:01:57 -0400 |
commit | 2f47715cc8649f854b1df28dfc338af9801db217 (patch) | |
tree | bac415813e53d0a65f2c91c8eec69cc7834a3c0b /src/include/postgres_ext.h | |
parent | 7ac918ada0037fc1101456271b3e7d0982d6a375 (diff) | |
download | postgresql-2f47715cc8649f854b1df28dfc338af9801db217.tar.gz postgresql-2f47715cc8649f854b1df28dfc338af9801db217.zip |
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
Diffstat (limited to 'src/include/postgres_ext.h')
-rw-r--r-- | src/include/postgres_ext.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 @@ -47,14 +47,6 @@ typedef unsigned int Oid; 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 * applications. |