Recent submissions

Comment · 8 years ago
Better, automated tools for optimization are needed. Postgres ecosystem right now lacks a lot of things that enterprise systems have for decades.
Comment · 8 years ago
things like superuser should be disabled by default (only DBA needs superuser access, not anybody else).
Comment · 8 years ago
Also: 3. Ensure that you don't use or provide anybody superuser in Postgres. (Otherwise, there is much simpler way to download&run anything that explain in the article – just `copy tablename from program 'wget ... && chmod a+x ... && ...'`
Comment · 8 years ago
This is one of the interesting optimizations that DBMS should do automatically but it doesn't.

https://github.com/NikolayS/postgres_dba -- this toolset includes a version of report (see report a1) which analyses all tables in your database and shows opportunities to optimize.

Comment · 8 years ago
I mean, in more recent Postgres versions, more things related to window functions are available – like CUBE, GROUPING SETS, etc. 9.3 was released back in 2013.
Comment · 8 years ago
||'' is another way to do ::text ? :-)
Comment · 8 years ago
select version();

PostgreSQL 9.3.20 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4, 64-bi

I wonder why so old version is being used. I will be not supported by the community pretty soon.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton