This site is about a previous instance of this event. For the current event, please see the updated site.

Schedule - PGConf.EU 2018

Tour de Data Types: VARCHAR2 or CHAR(255)?

Date: 2018-10-24
Time: 12:10–13:00
Room: Berlin
Level: Intermediate

Ever wondered what might be the best data type for a certain use case? Is it better to use INTEGER or BIGINT, and should you use TIMESTAMP or is it better to use TIMESTAMPTZ? When is the last time you migrated a legacy database and wondered what to use as replacement for VARCHAR2 or CHAR(255)? How to store IP addresses or geographical data, does that fit into VARCHAR or is there something more suitable?

PostgreSQL 10 comes with around 40 different data types preinstalled. This talk looks beyond INTEGER and VARCHAR and dives into some of the lesser known PostgreSQL data types. Use cases and examples show which data type is a good fit for a certain situation.


The following slides have been made available for this session:


Andreas Scherbaum