Re: pgsql: Remove byte-masking macros for Datum conversion macros

2018-02-02 Thread Tom Lane
Peter Eisentraut writes: > Remove byte-masking macros for Datum conversion macros Looking at the code now, I think there's at least one bad outcome of this change: the behavior of CharGetDatum() is now ill-defined, because we'll (probably) get different results on signed-char and unsigned-char co

pgsql: Remove byte-masking macros for Datum conversion macros

2018-01-26 Thread Peter Eisentraut
Remove byte-masking macros for Datum conversion macros As the comment there stated, these were needed for old-style user-defined functions, but since we removed support for those, we don't need this anymore. Reviewed-by: Michael Paquier Branch -- master Details --- https://git.postgres