postgresql/src/include
Tom Lane 9713c06319 Change the declaration of struct varlena so that the length word is
represented as "char ...[4]" not "int32".  Since the length word is never
supposed to be accessed via this struct member anyway, this won't break
any existing code that is following the rules.  The advantage is that C
compilers will no longer assume that a pointer to struct varlena is
word-aligned, which prevents incorrect optimizations in TOAST-pointer
access and perhaps other places.  gcc doesn't seem to do this (at least
not at -O2), but the problem is demonstrable on some other compilers.

I changed struct inet as well, but didn't bother to touch a lot of other
struct definitions in which it wouldn't make any difference because there
were other fields forcing int alignment anyway.  Hopefully none of those
struct definitions are used for accessing unaligned Datums.
2008-02-23 19:11:45 +00:00
..
access Replace time_t with pg_time_t (same values, but always int64) in on-disk 2008-02-17 02:09:32 +00:00
bootstrap Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
catalog Replace time_t with pg_time_t (same values, but always int64) in on-disk 2008-02-17 02:09:32 +00:00
commands Add checks to TRUNCATE, CLUSTER, and REINDEX to prevent performing these 2008-01-30 19:46:48 +00:00
executor Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
lib Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
libpq Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
mb Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
nodes Fix CREATE TABLE ... LIKE ... INCLUDING INDEXES to not cause unwanted 2008-02-07 17:09:51 +00:00
optimizer Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
parser The original implementation of polymorphic aggregates didn't really get the 2008-01-11 18:39:41 +00:00
port Replace time_t with pg_time_t (same values, but always int64) in on-disk 2008-02-17 02:09:32 +00:00
postmaster Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
regex Sync our regex code with upstream changes since last time we did this, which 2008-02-14 17:33:37 +00:00
rewrite Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
snowball Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
storage Change StatementCancelHandler() to check the DoingCommandRead flag to decide 2008-01-26 19:55:08 +00:00
tcop Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tsearch Fix RS_isRegis() to agree exactly with RS_compile()'s idea of what's a valid 2008-01-21 02:46:11 +00:00
utils Change the declaration of struct varlena so that the length word is 2008-02-23 19:11:45 +00:00
c.h Change the declaration of struct varlena so that the length word is 2008-02-23 19:11:45 +00:00
fmgr.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
funcapi.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
getaddrinfo.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
getopt_long.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
Makefile make install is supposed to install everything under src/include/, 2007-10-14 17:07:51 +00:00
miscadmin.h Rename miscadmin.h's PG_VERSIONSTR macro to PG_BACKEND_VERSIONSTR to 2008-02-20 22:46:24 +00:00
pg_config.h.in Upgrade to Autoconf 2.61: 2008-02-17 16:36:43 +00:00
pg_config.h.win32 Stamp HEAD as 8.4devel. 2008-02-13 03:40:38 +00:00
pg_config_manual.h Arrange for large sequential scans to synchronize with each other, so that 2007-06-08 18:23:53 +00:00
pg_trace.h Correct two more copyrights found by updated script. 2008-01-02 02:42:06 +00:00
pgstat.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
pgtime.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
port.h Added --htmldir option to pg_config, equivalent to the new configure option. 2008-02-18 14:51:48 +00:00
postgres.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
rusagestub.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00