Constraints and Logic in Your Database
Logic in your database... is that what constraints are? If you're a programmer, yeah, it's logic. If you're a data person, it's heaven.
12 articles tagged with "postgres".
Logic in your database... is that what constraints are? If you're a programmer, yeah, it's logic. If you're a data person, it's heaven.
Think about the lines of code you would have to write in order to manage a scheduling system. Duration checks, start and end time requirements as well as checking for overlap! You could spend a few days writing all that code or you could let PostgreSQL do it better with 5 lines of SQL.
Digging through my archives once again and found this wonderful video with Jon Skeet doing what he loves to do: sleuthing date bugs and answering questions on StackOverflow!
Handling dates properly is delicate business and, thankfully, Postgres gives you many tools to help make sure you store date information correctly. But that only works if you know what's going on!
Digging through my archives of hundreds of videos, I found an oldy but goody - publishing it for you to enjoy!
Web Assembly is enabling people to do some crazy stuff in the browser, including running a full PostgreSQL installation and Adobe Photoshop!
In this production, a SQL Server DBA (Rob Sullivan) and a developer (Rob Conery) take a deep dive into PostGreSQL (v9.1) and are surprised by just how capable, intelligent and *fast* PostGreSQL is.
Writing a full text index in PostgreSQL is an art form. You need to know what your users are looking so you can build the right index AND you need to understand how they write their search terms. Thankfully, Postgres is here to help.
Importing data into PostgreSQL can be time consuming and painful – unless you toss the GUI tools and use scripts.
PostgreSQL 12 introduced a feature I've long wished for: computed columns that are indexable and stored on disk! They're amazing and in this post I'll show you how they work and how things kind of go...
Working with dates and series of dates is easy in PostgreSQL, especially using generate_series
There is a lot of opinion about stored procedures out there that are just...