Fix 3-parameter form of bit substring() to throw error for negative length,
Tom Lane <tgl@sss.pgh.pa.us>
Fix 3-parameter form of bit substring() to throw error for negative length, as required by SQL standard.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/varbit.c | modified | +27 −7 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +2 −2 |
| src/include/utils/varbit.h | modified | +2 −1 |