Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

The PostgreSQL Datatypes You Aren't Using

DZone's Guide to

The PostgreSQL Datatypes You Aren't Using

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

You're probably not using all the datatypes available to you in PostgreSQL - there are actually quite a few. And that's not to say you should be using all of them, but it's always interesting to know what's out there, and to that end, Craig Kerstiens has written a list (complete with descriptions and/or warnings) of the PostgreSQL datatypes that you're probably not using:

  • Hstore
  • Range types
  • Timestamp with Timezone
  • UUID
  • Binary JSON
  • Money
  • Arrays
  • Interval
  • ISN
  • Inet

Again, some of these are cool little things you really ought to be using, and some can create unnecessary complications. Be sure to check out Kerstiens full article, then, to get all the descriptions and figure out what you're missing.

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}