| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix typo in tts_virtual_copyslot. |
| Date: | 2019-09-22 18:21:34 |
| Message-ID: | E1iC6UI-0001TH-QH@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix typo in tts_virtual_copyslot.
The code used the destination slot's natts where it intended to
use the source slot's natts. Adding an Assert shows that there
is no case in "make check-world" where these counts are different,
so maybe this is a harmless bug, but it's still a bug.
Takayuki Tsunakawa
Discussion: https://postgr.es/m/0A3221C70F24FB45833433255569204D1FD34C0E@G01JPEXMBYT05
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/308813846e737f7d92ffb4e033d65e3df6cbddba
Modified Files
--------------
src/backend/executor/execTuples.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2019-09-22 21:46:17 | pgsql: Fix failure to zero-pad the result of bitshiftright(). |
| Previous Message | Tom Lane | 2019-09-22 15:46:34 | pgsql: Make some efficiency improvements in LISTEN/NOTIFY. |