Making Postgres Talk to LDAP (with StartTLS)

Contributed by Richard Yen I recently got a few support cases from customers seeking to connect Postgres with LDAP (usually with some form of SSL/TLS encryption, to ensure security). I...
February 27, 2018

PERCENT_RANK Vs. CUMM_DIST

During research for my Postgres Window Magic talk, I studied the unusual behavior of percent_rank and cumm_dist ( cumulative distribution). The Postgres documentation wasn't helpful. I finally came up with...
November 14, 2017

Materialized Views and Foreign Data Wrappers

You might know that Postgres supports materialized views and foreign data wrappers (fdw). Briefly, materialized views allow for queries to be materialized and refreshed on demand. Foreign data wrappers allow...
October 31, 2017

Playing with IPv6

Now that everyone is using IPv6 it might be time to start playing with it. Postgres has had full IPv6 support for years, so Postgres is a good place to...
October 17, 2017

When to Use Server-Side Logic

The use of server-side logic, particularly stored procedures, has been a highly contentious topic among database professionals for decades.
September 12, 2017

Postgres Keywords

You might be aware that the sql standard reserves certain identifiers that cannot be used for naming user objects. Postgres follows that standard, with slight modifications. For example, you cannot...
May 17, 2017