From: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
---|---|
To: | gmail Vladimir Koković <vladimir(dot)kokovic(at)gmail(dot)com> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #15653: pg_detoast_datum_packed problem |
Date: | 2019-03-09 09:48:24 |
Message-ID: | 87r2bg9yb2.fsf@news-spur.riddles.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
>>>>> "gmail" == gmail Vladimir Koković <vladimir(dot)kokovic(at)gmail(dot)com> writes:
gmail> Hi Andrew.
gmail> I changed VARSIZE to VARSIZE_ANY_EXHDR and VARDATA in
gmail> VARDATA_ANY as you said, but there is still a problem I can not
gmail> understand !
Your message formatting was all messed up, but I can see that you are
still subtracting VARHDRSZ - don't do that: VARSIZE_ANY_EXHDR already
has the header size subtracted (hence "EXHDR"), it returns only the data
size. (The header size is variable, 1 or 4 bytes, so it wouldn't make
sense to include it.)
--
Andrew (irc:RhodiumToad)
From | Date | Subject | |
---|---|---|---|
Next Message | gmail Vladimir Koković | 2019-03-09 10:08:16 | Re: BUG #15653: pg_detoast_datum_packed problem |
Previous Message | gmail Vladimir Koković | 2019-03-09 09:03:38 | Re: BUG #15653: pg_detoast_datum_packed problem |