postgresql/src/backend
Tom Lane 8c8ba6d11b Add comment on why pulling data from a "name" index column can't crash.
It's been bothering me for several days that pretending that the cstring
data stored in a btree name_ops column is really a "name" Datum could lead
to reading past the end of memory.  However, given the current memory
layout used for index-only scans in the btree code, a crash is in fact not
possible.  Document that so we don't break it.  I have not thought of any
other solutions that aren't fairly ugly too, and most of them lose the
functionality of index-only scans on name columns altogether, so this seems
like the way to go.
2011-10-11 18:40:53 -04:00
..
access Add comment on why pulling data from a "name" index column can't crash. 2011-10-11 18:40:53 -04:00
bootstrap Simplify handling of the timezone GUC by making initdb choose the default. 2011-09-09 17:59:11 -04:00
catalog Replace hardcoded switch in object_exists() with a lookup table. 2011-10-11 09:14:30 -04:00
commands Rearrange the implementation of index-only scans. 2011-10-11 14:21:30 -04:00
executor Generate index-only scan tuple descriptor from the plan node's indextlist. 2011-10-11 18:12:57 -04:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:49 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
main Add postmaster -C option to query configuration parameters, and have 2011-10-06 09:38:39 -04:00
nodes Rearrange the implementation of index-only scans. 2011-10-11 14:21:30 -04:00
optimizer Consider index-only scans even when there is no matching qual or ORDER BY. 2011-10-11 15:00:30 -04:00
parser Don't let transform_null_equals=on affect CASE foo WHEN NULL ... constructs. 2011-10-08 11:17:40 +03:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
postmaster Add postmaster -C option to query configuration parameters, and have 2011-10-06 09:38:39 -04:00
regex Add markers for skips. 2011-08-26 18:15:13 -04:00
replication Ensure walsenders can be SIGTERMed while in non-walsender code 2011-10-06 21:43:14 +02:00
rewrite Rearrange planner to save the whole PlannerInfo (subroot) for a subquery. 2011-09-03 15:36:24 -04:00
snowball Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
storage Repair breakage in VirtualXactLock. 2011-10-11 07:39:09 -04:00
tcop Support index-only scans using the visibility map to avoid heap fetches. 2011-10-07 20:14:13 -04:00
tsearch Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
utils Rearrange the implementation of index-only scans. 2011-10-11 14:21:30 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
Makefile Fix symlink for errcodes.h so it works in VPATH builds from tarballs. 2011-06-22 13:08:08 -04:00
nls.mk Add the possibility to pass --flag arguments to xgettext calls 2011-06-27 00:37:21 +03:00