Join Slack
Communities
Powered by
Not really - I'd just use varchar if they're dynam...
# exposed
a
andrewoma
10/22/2015, 2:52 AM
Not really - I'd just use varchar if they're dynamic: "The storage requirement for a short string (up to 126 bytes) is 1 byte plus the actual string":
http://www.postgresql.org/docs/9.4/static/datatype-character.html
. Or I guess you could use and enum type and alter it on the fly when encountering new values:
http://stackoverflow.com/questions/1771543/postgresql-updating-an-enum-type/7834949#7834949
Open in Slack
Previous
Next