diff options
author | Stephen Frost <sfrost@snowman.net> | 2018-12-10 09:31:38 -0500 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2018-12-10 09:31:38 -0500 |
commit | 96c702c1edbde8a3f5013bd0ac6c25c85710258d (patch) | |
tree | 0d89209ef689b54ab55e9be963ef171109791d3a /src/backend/executor/nodeProjectSet.c | |
parent | 6d8727f95e7043d52ea8f6d62f7bcf81fdeaa658 (diff) | |
download | postgresql-96c702c1edbde8a3f5013bd0ac6c25c85710258d.tar.gz postgresql-96c702c1edbde8a3f5013bd0ac6c25c85710258d.zip |
Remove dead code in toast_fetch_datum_slice
In toast_fetch_datum_slice(), we Assert() that what is passed in isn't
compressed, but we then later had a check to see what the length of if
what was passed in is compressed. That later check is rather confusing
since toast_fetch_datum_slice() is only ever called with non-compressed
datums and the Assert() earlier makes it clear that one shouldn't be
passing in compressed datums.
Add a comment to make it clear that toast_fetch_datum_slice() is just
for non-compressed datums, and remove the dead code.
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions