Remove obsolete check for TTSOpsVirtual from slot_compile_deform - Mailing list pgsql-hackers

From Xing Guo
Subject Remove obsolete check for TTSOpsVirtual from slot_compile_deform
Date
Msg-id CACpMh+Awj2OoKVB3TMyz=qu9Q=ONNDum=XmhsGUXJPtkXgk4cQ@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi hackers,

While exploring the JIT support for tuple deforming process, I noticed that one check for TTSOpsVirtual in slot_compile_deform is obsolete. Since virtual tuples never need deforming and there's an assertion in llvm_compile_expr[1]. I simply replace it with an assertion in slot_compile_deform. Patch is attached.


Best Regards,
Xing






Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Fwd: Annoying corruption in PostgreSQL.
Next
From: Ashutosh Bapat
Date:
Subject: Re: Memory consumed by child SpecialJoinInfo in partitionwise join planning