[Info-ingres] OLD_COPY_DN gotcha (or rather, got my customer)

Roy Hann specially at processed.almost.meat
Wed Aug 30 12:19:55 UTC 2023


Colin Hay wrote:

> On Wednesday, 30 August 2023 at 17:09:44 UTC+10, G Jones wrote:
>> It's in the 'patchbugs' doc, though surprisingly not marked with "attention". 
>> On reading that bug description again the last bit worries me. 
>> "Please note that using d0 and text(0) continues to be unsafe. They produces undefined behaviour". 
>> Hmm. We use 'text(0)' quite frequently.
>
> We use d0 quite frequently too - whats the alternative ?

   SET SESSION OLD_COPY_DN;

Or as Paul Mason points out, you can configure it globally in CBF. You
may need to first do:

   iiinitres old_copy_dn

Roy



More information about the Info-ingres mailing list