Parsing / Deparsing of PostgreSQL regress test suite
Closed this issue · 2 comments
rdunklau commented
In the PostgreSQL test suite, we may encounter statements which are not serialized back to the same form they were originally written. However, the constructions involved are semantically identical.
As for now, I identified the following constuctions detected as different even though they are strictly the same thing.
On TypeName parsing:
- timestamp VS timestamp without time zone
- time VS time without time zone
- ::"char" vs ::char, one being parsed into the name "char" the other one being parsed into pg_catalog.bpchar.
- character VS char(1)
- bit varying VS varbit
I will update this list as I found other issues.
lelit commented
See the libpg_query
deparseTypeName() function.
lelit commented
I'm not sure if there is still something to do here, as all the regression tests pass now.
Can you check and clarify please?