pgsql: Use a safer outfuncs/readfuncs representation for BitStrings.

2024-02-13 Thread Tom Lane
Use a safer outfuncs/readfuncs representation for BitStrings. For a long time, our outfuncs.c code has supposed that the string contents of a BitString node could just be printed literally with no concern for quoting/escaping. Now, that's okay if the string literal contains only valid binary or

pgsql: Use a safer outfuncs/readfuncs representation for BitStrings.

2024-02-13 Thread Tom Lane
Use a safer outfuncs/readfuncs representation for BitStrings. For a long time, our outfuncs.c code has supposed that the string contents of a BitString node could just be printed literally with no concern for quoting/escaping. Now, that's okay if the string literal contains only valid binary or