You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I saw the document too yesterady, but didn’t read through it yet. We should go through it at some point and consider what we should change (and probably not just text).
I think it doesn’t have super high priority, though. After all, we’ve been sailing fairly smoothly so far with our db.
VARCHAR(n) (in our schema.sql) where we could use text. Consider limiting size of user-supplied strings already in Controllers/Actions instead.
I always thought that we should probably eventually move our timestamptz fields to timestamp (without timezone), as they are all utc anyway, but apparently that is not true
fm3
changed the title
PostgreSQL text storage best practice compliance
PostgreSQL best practices compliance
Nov 13, 2024
The people who made PostgreSQL have created this document: https://wiki.postgresql.org/wiki/Don%27t_Do_This#Text_storage
Some things I noticed
Opinions on this @fm3 ?
The text was updated successfully, but these errors were encountered: