postgresql/src/include
Tom Lane 3727afafee Fix pg_type.typlen for newly-revived line type.
Commit 261c7d4b65 removed the "m" field
from struct LINE, but neglected to make pg_type.h's idea of the type's
size match.  This resulted in reading past the end of palloc'd LINE
values when inserting them into tuples etc.  In principle that could
cause a SIGSEGV, though the odds of detectable problems seem low.

Bump catversion since this makes an incompatible on-disk format change.
Note that if the line type had been in use in the field, this would
break pg_upgrade'ability of databases containing line values; but
it seems unlikely that there are any (they'd have had to be compiled
with -DENABLE_LINE_TYPE).

Spotted by Andres Freund.
2014-05-05 13:37:54 -04:00
..
access Fix failure to detoast fields in composite elements of structured types. 2014-05-01 15:19:06 -04:00
bootstrap Update copyright for 2014 2014-01-07 16:05:30 -05:00
catalog Fix pg_type.typlen for newly-revived line type. 2014-05-05 13:37:54 -04:00
commands Offer triggers on foreign tables. 2014-03-23 02:16:34 -04:00
common Rationalize common/relpath.[hc]. 2014-04-30 17:30:50 -04:00
datatype Update copyright for 2014 2014-01-07 16:05:30 -05:00
executor Update copyright for 2014 2014-01-07 16:05:30 -05:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib Update copyright for 2014 2014-01-07 16:05:30 -05:00
libpq Fix assorted issues in client host name lookup. 2014-04-02 17:11:24 -04:00
mb Fix typo 2014-02-13 21:50:43 -05:00
nodes Make security barrier views automatically updatable 2014-04-12 21:04:58 -04:00
optimizer Make security barrier views automatically updatable 2014-04-12 21:04:58 -04:00
parser Allow polymorphic aggregates to have non-polymorphic state data types. 2014-04-23 19:17:41 -04:00
port Enable building with Visual Studion 2013. 2014-01-26 09:49:10 -05:00
portability Update copyright for 2014 2014-01-07 16:05:30 -05:00
postmaster Separate multixact freezing parameters from xid's 2014-02-13 19:36:31 -03:00
regex Allow regex operations to be terminated early by query cancel requests. 2014-03-01 15:20:56 -05:00
replication Allow logical decoding via the walsender interface. 2014-03-10 13:50:28 -04:00
rewrite Make security barrier views automatically updatable 2014-04-12 21:04:58 -04:00
snowball Update copyright for 2014 2014-01-07 16:05:30 -05:00
storage Rationalize common/relpath.[hc]. 2014-04-30 17:30:50 -04:00
tcop Avoid repeated name lookups during table and index DDL. 2014-02-17 09:33:31 -05:00
tsearch Allow opclasses to provide tri-valued GIN consistent functions. 2014-03-12 17:51:30 +02:00
utils Can't completely get rid of #ifndef FRONTEND in palloc.h :-( 2014-04-27 21:24:19 -04:00
.gitignore Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
Makefile Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
c.h Prevent double macro definition of WIN32. 2014-01-17 11:49:44 -05:00
fmgr.h Fix failure to detoast fields in composite elements of structured types. 2014-05-01 15:19:06 -04:00
funcapi.h Fix failure to detoast fields in composite elements of structured types. 2014-05-01 15:19:06 -04:00
getaddrinfo.h Fix assorted issues in client host name lookup. 2014-04-02 17:11:24 -04:00
getopt_long.h Centralize getopt-related declarations in a new header file pg_getopt.h. 2014-02-15 14:31:30 -05:00
miscadmin.h Make sure -D is an absolute path when starting server on Windows. 2014-04-04 18:42:13 -04:00
pg_config.h.in Allow use of "z" flag in our printf calls, and use it where appropriate. 2014-01-23 17:18:33 -05:00
pg_config.h.win32 Enable building with Visual Studion 2013. 2014-01-26 09:49:10 -05:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_ext.h.win32 Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Fix typos in comments for ALTER SYSTEM. 2014-01-27 12:23:20 +09:00
pg_getopt.h Centralize getopt-related declarations in a new header file pg_getopt.h. 2014-02-15 14:31:30 -05:00
pg_trace.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pgstat.h Fix some compiler warnings that clang emits with -pedantic. 2014-04-04 11:29:50 -04:00
pgtar.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pgtime.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
port.h Replace SYSTEMQUOTEs with Windows-specific wrapper functions. 2014-05-05 16:07:40 +03:00
postgres.h Further code review for pg_lsn data type. 2014-02-19 10:06:59 -05:00
postgres_ext.h Provide database object names as separate fields in error messages. 2013-01-29 17:08:26 -05:00
postgres_fe.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
rusagestub.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
windowapi.h Update copyright for 2014 2014-01-07 16:05:30 -05:00