aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-11-04 12:00:00 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-11-04 10:05:37 -0400
commit84ad68d645222f534e4fe51fbba43a5c9cc382a5 (patch)
treee417126023069e046f92bcd0fc42aa4b5ae2c363 /src/backend/commands/trigger.c
parentf2e6a2ccf1247bc15f6c03895c936b28cdeff181 (diff)
downloadpostgresql-84ad68d645222f534e4fe51fbba43a5c9cc382a5.tar.gz
postgresql-84ad68d645222f534e4fe51fbba43a5c9cc382a5.zip
pageinspect: Fix unaligned struct access in GIN functions
The raw page data that is passed into the functions will not be aligned at 8-byte boundaries. Casting that to a struct and accessing int64 fields will result in unaligned access. On most platforms, you get away with it, but it will result on a crash on pickier platforms such as ia64 and sparc64.
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions