willmurnane

Results 6 comments of willmurnane

Upon further investigation, the cause of this is in `fmgr.c`, [here](https://github.com/postgres/postgres/blob/master/src/backend/utils/fmgr/fmgr.c#L1506-L1526). This initializes `isnull` to `false`, whether `str` is NULL or not. I could file a bug with upstream, or...

Based on this comment in `fmgr.c`: > "str" may be NULL to indicate we are reading a NULL. In this case the caller should assume the result is NULL, but...

This is great feedback. I modified the `*InOutFuncs` traits to have another member: ```rust /// If PostgreSQL calls the conversion function with NULL as an argument, what /// error message...

1. Yeah, I can at least see the value in making a flag to turn this on or off. Rpmbuild does execute subshells, though, and to accurately mimic its behavior...

Create a function that does a warning message followed by an error. When you have pg_test with an expected error, the warning is swallowed, but with no expected error the...

Yes, that’s right. If I recall correctly, passing `— —nocapture` will show the warning when no error is expected, but not with an expected error.