Waiting for 8.5 – better messages for unique violation

On 1st of August Tom Lane committed patch from Itagaki Takahiro: Improve unique-constraint-violation error messages to include the exact values being complained of.   In passing, also remove the arbitrary length limitation in the similar error detail message for foreign key violations.   Itagaki Takahiro and later added an extension to it: Department of second … Continue reading “Waiting for 8.5 – better messages for unique violation”

Waiting for 8.4 – final post (?)

For quite some time I’ve been posting about new features in 8.4. First post was over a year ago, on 16th of February 2008. Now, we just (yesterday) got nice surprise: beta is here: (depesz@[LOCAL]:5840) 12:39:15 [depesz] # SELECT version(); version ———————————————————————————————————– PostgreSQL 8.4beta1 ON i686-pc-linux-gnu, compiled BY GCC gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3), 32-bit … Continue reading “Waiting for 8.4 – final post (?)”

Waiting for 8.4 – window functions

A long overdue post about new functionality. At this moment it is no longer such new, as it was committed on 28th of December (yes, I know, I should have written it earlier, Sorry). On this day Tom Lane committed patch by Hitoshi Harada which adds support for so called window functions: Support window functions … Continue reading “Waiting for 8.4 – window functions”

Waiting for 8.4 – Visibility maps

Yeah. This one patch alone is worth upgrading to 8.4. On 3rd of December Heikki Linnakangas committed his patch. Commit message: Introduce visibility map. The visibility map is a bitmap with one bit per heap page, where a set bit indicates that all tuples on the page are visible to all transactions, and the page … Continue reading “Waiting for 8.4 – Visibility maps”

Waiting for 8.4 – TABLE

On Thursday, 20th of November, Peter Eisentraut committed his own patch, which adds new command to PostgreSQL: TABLE. While this command doesn’t do anything that wasn’t available earlier, it’s worth mentioning, as it’s one of patches that make PostgreSQL compatible with SQL:2008. Basically new command “TABLE” acts like an alias to ‘SELECT * FROM’: