git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 43f4b34) | patch
Fix reading of BitString nodes
2022年9月24日 22:10:52 +0000 (18:10 -0400)
2022年9月24日 22:10:52 +0000 (18:10 -0400)
commit 2cb1a5a8d4aeb63da2d6a2d22169f05c60bb5828
Fix reading of BitString nodes

The node tokenizer went out of its way to store BitString node values
without the leading 'b'. But everything else in the system stores the
leading 'b'. This would break if a BitString node is
read-printed-read.

Also, the node tokenizer didn't know that BitString node tokens could
also start with 'x'.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/4159834.1657405226@sss.pgh.pa.us
src/backend/nodes/read.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /