Re:Show HN: Prisma Postgres. Runs on bare metal and unikernels
by dboreham on Saturday November 02, 2024 @06:53PM
(#42029828)
I seem to recall it's a SQL thing, not just PostgreSQL, although Oracle might not follow the spec. Definitely annoying.
[ Parent
| on HN ]
Re:Show HN: Prisma Postgres. Runs on bare metal and unikernels
by Shorn on Saturday November 02, 2024 @07:05PM
(#42029890)
For MySQL, it can depend on the OS!
https://dev.mysql.com/doc/refman/8.0/en/identifier-case-sens...
Re:Show HN: Prisma Postgres. Runs on bare metal and unikernels
by evanelias on Saturday November 02, 2024 @07:33PM
(#42030023)
That's largely only true for schema names and table names, not all identifiers.
The original root cause was having schemas backed by directories, and table definitions backed by .frm files. So on a case-insensitive filesystem like on Windows or MacOS, MySQL enables corresponding case-insensitivity logic for the affected types of identifiers.
For a deeper dive, see my post https://www.skeema.io/blog/2022/06/07/lower-case-table-names...