Commit ff239c3
committed
Silence compilers about extractNotNullColumn()
Multiple buildfarm animals warn that a newly added Assert() is
impossible to fail; remove it to avoid the noise. While at it, use
direct assignment to obtain the value we need, avoiding an unnecessary
memcpy().
(I decided to remove the "pfree" call for the detoasted short-datum;
because this is only used for DDL, it's not problematic to leak such a
small allocation.)
Noted by Tom Lane about 14e87ff.
Discussion: https://postgr.es/m/3649828.1731083171@sss.pgh.pa.us1 parent 3f323eb commit ff239c3
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
692 | 691 | | |
693 | 692 | | |
694 | 693 | | |
| |||
704 | 703 | | |
705 | 704 | | |
706 | 705 | | |
707 | | - | |
708 | | - | |
| 706 | + | |
709 | 707 | | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
| 708 | + | |
714 | 709 | | |
715 | 710 | | |
716 | 711 | | |
| |||
0 commit comments