You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tom Lane
3ed2005ff5
Introduce macros for typalign and typstorage constants.
...
Our usual practice for "poor man's enum" catalog columns is to define
macros for the possible values and use those, not literal constants,
in C code. But for some reason lost in the mists of time, this was
never done for typalign/attalign or typstorage/attstorage. It's never
too late to make it better though, so let's do that.
The reason I got interested in this right now is the need to duplicate
some uses of the TYPSTORAGE constants in an upcoming ALTER TYPE patch.
But in general, this sort of change aids greppability and readability,
so it's a good idea even without any specific motivation.
I may have missed a few places that could be converted, and it's even
more likely that pending patches will re-introduce some hard-coded
references. But that's not fatal --- there's no expectation that
we'd actually change any of these values. We can clean up stragglers
over time.
Discussion: https://postgr.es/m/16457.1583189537@sss.pgh.pa.us
6 years ago
..
access
Introduce macros for typalign and typstorage constants.
6 years ago
bootstrap
Update copyrights for 2020
6 years ago
catalog
Introduce macros for typalign and typstorage constants.
6 years ago
commands
Report progress of streaming base backup.
6 years ago
common
Move src/backend/utils/hash/hashfn.c to src/common
6 years ago
datatype
Update copyrights for 2020
6 years ago
executor
expression eval: Reduce number of steps for agg transition invocations.
6 years ago
fe_utils
Reduce size of backend scanner's tables.
6 years ago
foreign
Update copyrights for 2020
6 years ago
jit
jit: Reference expression step functions via llvmjit_types.
6 years ago
lib
Skip memcpy(x, x) in qunique().
6 years ago
libpq
Allow building without default socket directory
6 years ago
mb
Rationalize code placement between wchar.c, encnames.c, and mbutils.c.
6 years ago
nodes
Fix commit c11cb17d.
6 years ago
optimizer
Save calculated transitionSpace in Agg node.
6 years ago
parser
Fill in extraUpdatedCols in logical replication
6 years ago
partitioning
Update copyrights for 2020
6 years ago
port
Assume that we have utime() and <utime.h>.
6 years ago
portability
Update copyrights for 2020
6 years ago
postmaster
Update copyrights for 2020
6 years ago
regex
Assume that we have <wchar.h>.
6 years ago
replication
Set ReorderBufferTXN->final_lsn more eagerly
6 years ago
rewrite
Update copyrights for 2020
6 years ago
snowball
Update copyrights for 2020
6 years ago
statistics
Update copyrights for 2020
6 years ago
storage
Account explicitly for long-lived FDs that are allocated outside fd.c.
6 years ago
tcop
Represent command completion tags as structs
6 years ago
tsearch
Assume that we have <wchar.h>.
6 years ago
utils
Introduce macros for typalign and typstorage constants.
6 years ago
.gitignore
Refactor dlopen() support
7 years ago
Makefile
Get rid of jsonpath_gram.h and jsonpath_scanner.h
7 years ago
c.h
Assume that we have signed integral types and flexible array members.
6 years ago
fmgr.h
Update copyrights for 2020
6 years ago
funcapi.h
Update copyrights for 2020
6 years ago
getaddrinfo.h
Update copyrights for 2020
6 years ago
getopt_long.h
Update copyrights for 2020
6 years ago
miscadmin.h
Make vacuum buffer counters 64 bits wide
6 years ago
pg_config.h.in
Move pg_upgrade's Windows link() implementation to AC_REPLACE_FUNCS
6 years ago
pg_config_ext.h.in
…
pg_config_manual.h
Allow building without default socket directory
6 years ago
pg_getopt.h
Update copyrights for 2020
6 years ago
pg_trace.h
Update copyrights for 2020
6 years ago
pgstat.h
Report progress of streaming base backup.
6 years ago
pgtar.h
Update copyrights for 2020
6 years ago
pgtime.h
Update copyrights for 2020
6 years ago
port.h
Move pg_upgrade's Windows link() implementation to AC_REPLACE_FUNCS
6 years ago
postgres.h
Update copyrights for 2020
6 years ago
postgres_ext.h
Phase 2 of pgindent updates.
9 years ago
postgres_fe.h
Update copyrights for 2020
6 years ago
rusagestub.h
Update copyrights for 2020
6 years ago
windowapi.h
Update copyrights for 2020
6 years ago