By coincidence I noticed that psql can produce perfect LaTeX code. How cool is that? We show you how to do it, with examples.
Flexible grouping: Some dirty SQL trickery
How to group PostgreSQL data with some dirty SQL trickery. Find the difference between timestamps; how to use flexible grouping.
Scaling PostgreSQL: Using more than just one core for aggregation
Unfortunately PostgreSQL cannot scale a single query to more than one core. We have done some experiments to see how scaling up can work.
Fuzzy search solves the problem of spelling errors in searches. The goal is really to make sure that users have a chance - even with typos.
JSON is used for configuration, data transfer, and a lot more. Luckily PostgreSQL is pretty good at it. Turn xlog into JSON.
In PostgreSQL all major DDLs (CREATE TABLE, ...) are fully transactional. However, there are some exceptions.
Naming temporary tables properly in PostgreSQL
What if a temporary table in PostgreSQL has the same name as a “real” table? What happens? Find out about naming temporary tables properly.
Partial aggregation: The beautiful way
Partial aggregation: Functions such as min, max, count, sum, avg and so on are used in virtually every application. Find out more.
Managing backup speed with pg_basebackup
How to adjust backup speed when using pg_basebackup in PostgreSQL. What if the I/O capacity of servers is low & network bandwidth is large?
Forking databases - the art of copying without copying
I received a question about how to fork PostgreSQL databases like you can do on Heroku. As I did not […]