Re: What to name the current heap after pluggable storage / what to rename?
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Haribabu Kommi <kommi.haribabu@gmail.com>, Alexander Korotkov <a.korotkov@postgrespro.ru>,
Amit Kapila <amit.kapila16@gmail.com>
Date: 2019-01-11T17:01:36Z
Lists: pgsql-hackers
On Thu, Jan 10, 2019 at 7:05 PM Andres Freund <andres@anarazel.de> wrote: > ISTM that the first block would best belong into new files like > access/rel[ation].h and access/common/rel[ation].h. +1. > I think the second > set should be renamed to be table_open() (with backward compat > redirects, there's way way too many references) and should go into > access/table.h access/table/table.c alongside tableam.[ch], Sounds reasonable. > but I could > also see just putting them into relation.[ch]. I would view that as a less-preferred alternative, but not crazy. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Replace heapam.h includes with {table, relation}.h where applicable.
- 111944c5ee56 12.0 landed
-
Replace uses of heap_open et al with the corresponding table_* function.
- e0c4ec07284d 12.0 landed
-
Introduce access/{table.h, relation.h}, for generic functions from heapam.h.
- 4b21acf522d7 12.0 landed