This repository was archived by the owner on Sep 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
PSQL mistake suggesting BOOLEAN -> BIT #305
Copy link
Copy link
Open
Description
Apologies if maybe I've misunderstood, this is not the behaviour I've seen when implementing changesets or generating a changelog, while using PSQL 16.4. Incorrect assertion that creates confusion about the reading of the very complete table which follows.
Steps to reproduce the behavior:
- https://docs.liquibase.com/concepts/data-type-handling.html?
- Read the third paragraph in the introduction.
Expectation:
The documentation incorrectly states that BOOLEANs will be converted to BITs when running against a PostgreSQL table. This isn't the case. A more clarifying example should be supplied
| <p>For example, if you specify the data type <code>BOOLEAN</code> in your changelog, Liquibase passes it to a Snowflake database as a <code>BOOLEAN</code>. However, on a PostgreSQL database, Liquibase converts it to a <code>BIT</code>.</p> |
Extra info:
PostgreSQL 16.4 (Debian 16.4-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
Liquibase 4.28.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels