postgresql/src/backend
Peter Eisentraut 04e485273b Move BuildDescForRelation() from tupdesc.c to tablecmds.c
BuildDescForRelation() main job is to convert ColumnDef lists to
pg_attribute/tuple descriptor arrays, which is really mostly an
internal subroutine of DefineRelation() and some related functions,
which is more the remit of tablecmds.c and doesn't have much to do
with the basic tuple descriptor interfaces in tupdesc.c.  This is also
supported by observing the header includes we can remove in tupdesc.c.
By moving it over, we can also (in the future) make
BuildDescForRelation() use more internals of tablecmds.c that are not
sensible to be exposed in tupdesc.c.

Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
2023-10-05 16:20:46 +02:00
..
access Move BuildDescForRelation() from tupdesc.c to tablecmds.c 2023-10-05 16:20:46 +02:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup In basebackup.c, refactor to create read_file_data_into_buffer. 2023-10-03 11:00:40 -04:00
bootstrap Make error messages about WAL segment size more consistent 2023-08-28 15:17:04 +02:00
catalog Remove IndexInfo.ii_OpclassOptions field 2023-10-03 17:51:02 +02:00
commands Move BuildDescForRelation() from tupdesc.c to tablecmds.c 2023-10-05 16:20:46 +02:00
executor Fix memory leak in Memoize code 2023-10-05 20:30:47 +13:00
foreign Expand some more uses of "deleg" to "delegation" or "delegated". 2023-05-21 10:55:18 -04:00
jit Revert "Add soft error handling to some expression nodes" 2023-10-02 13:48:15 +09:00
lib Make binaryheap available to frontend code. 2023-09-18 12:18:33 -07:00
libpq Refactor ListenSocket array. 2023-10-05 15:05:25 +03:00
main Remove obsolete defense against strxfrm() bugs. 2023-04-20 13:20:14 +12:00
nodes Remove IndexInfo.ii_OpclassOptions field 2023-10-03 17:51:02 +02:00
optimizer Consider cheap startup paths in add_paths_to_append_rel 2023-10-05 21:03:10 +13:00
parser Add some notes about why "ALTER TYPE enum DROP VALUE" is hard. 2023-10-03 11:41:42 -04:00
partitioning Add missing ObjectIdGetDatum() in syscache lookup calls for Oids 2023-07-20 15:18:25 +09:00
po Translation updates 2023-08-07 12:39:30 +02:00
port Add GUC parameter "huge_pages_status" 2023-07-06 14:42:36 +09:00
postmaster Refactor ListenSocket array. 2023-10-05 15:05:25 +03:00
regex All supported systems have locale_t. 2023-07-09 11:55:18 +12:00
replication Tidy-up some appendStringInfo*() usages 2023-10-03 17:09:52 +13:00
rewrite Add TupleDescGetDefault() 2023-09-27 18:52:40 +01:00
snowball Fix the install rule for snowball_create.sql. 2023-05-23 11:15:57 -04:00
statistics Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
storage doc: correct reference to pg_relation in comment 2023-09-26 17:07:14 -04:00
tcop Fix recovery conflict SIGUSR1 handling. 2023-09-07 12:39:24 +12:00
tsearch Limit to_tsvector_byid's initial array allocation to something sane. 2023-09-25 11:50:28 -04:00
utils Improve JsonLexContext's freeability 2023-10-05 10:59:08 +02:00
.gitignore
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile Add system view pg_wait_events 2023-08-20 15:35:02 +09:00
meson.build Add win32ver data to meson-built postgres.exe. 2023-06-12 07:40:38 -07:00
nls.mk Add missing gettext triggers 2023-05-10 13:51:51 +02:00