4 ms·
The Bug We Completely Missed
- SEMW 13y agoPostgres has an IP address datatype... http://www.postgresql.org/docs/9.1/static/datatype-net-types.html#DATATYPE-INET http://www.postgresql.org/docs/9.1/static/datatype-net-types...
- brandonhsiao 13y agoYeah, we didn't figure that out until after. :(
- yaur 13y agoIPv6? You shouldn't be trying to stick an IP Address in 4 bytes in 2014.
- greenyoda 13y agoWhy would you need to save somebody's IP address in a database in the first place? An IP address isn't a unique identifier of a person (many people can share a computer) or of most people's computers (which have dynamic IPs). Or were they using their database as their HTTP server log?
- brandonhsiao 13y agoThe latter.