Waiting for 9.1 – Reduced lock levels for ALTER TABLE

On 28th of July, Simon Riggs committed patch which: Log Message: ———– Reduce LOCK levels OF CREATE TRIGGER AND SOME ALTER TABLE, CREATE RULE actions. Avoid hard-coding lockmode used FOR many altering DDL commands, allowing easier future changes OF LOCK levels. Implementation OF initial analysis ON DDL sub-commands, so that many LOCK levels are now … Continue reading “Waiting for 9.1 – Reduced lock levels for ALTER TABLE”

Waiting for 9.1 – standard_conforming_strings = on

Generally I write about new features, but this change is relatively important. Yesterday, on 20th of July, Robert Haas committed following change: Log Message: ———– Change the default value of standard_conforming_strings to on.   This change should be publicized to driver maintainers at once and release-noted as an incompatibility with previous releases.

Waiting for 9.0 – Final Post ?

As of now, I am happy user of 9.1devel version of PostgreSQL: =$ psql -c ‘select version()’ version ——————————————————————————————————————— PostgreSQL 9.1devel ON x86_64-unknown-linux-gnu, compiled BY GCC gcc-4.4.real (Ubuntu 4.4.3-4ubuntu5) 4.4.3, 64-bit (1 ROW) So, I guess no new features will make it to 9.0 – after all, 9.0 is currently already beta3. If you want … Continue reading “Waiting for 9.0 – Final Post ?”

Waiting for 9.0 – pg_upgrade

On May, 12ve, Bruce Momjian committed new contrib module for 9.0 – pg_upgrage. As I understand – this is what was available before as pg-migrator. If you’re not familiar with it – it’s a tool that allows upgrade of $PGDATA from some version to some version. What’s the use case? Let’s assume you have this … Continue reading “Waiting for 9.0 – pg_upgrade”

CHAR(x) vs. VARCHAR(x) vs. VARCHAR vs. TEXT – UPDATED 2010-03-03

UPDATE Please read also about this change in Pg 9.1, and this change in Pg 9.2 posts, as they explain that since Pg 9.1 some of the limitations listed in this post are no longer there. END OF UPDATE Fight! But more seriously – people tend to use various data types, and there have been … Continue reading “CHAR(x) vs. VARCHAR(x) vs. VARCHAR vs. TEXT – UPDATED 2010-03-03”

Waiting for 9.0 – extended frames for window functions

On 12th of February Tom Lane committed patch by Hitoshi Harada: Log Message: ———– Extend the set of frame options supported for window functions.   This patch allows the frame to start from CURRENT ROW (in either RANGE or ROWS mode), and it also adds support for ROWS n PRECEDING and ROWS n FOLLOWING start … Continue reading “Waiting for 9.0 – extended frames for window functions”

Waiting for 9.0 – string_agg

On 1st of Februyary, Takahiro Itagaki committed a patch by Pavel Stehule which adds string_agg aggregate: Log Message: ———– Add string_agg aggregate functions. The one argument version concatenates the input values into a string. The two argument version also does the same thing, but inserts delimiters between elements.   Original patch by Pavel Stehule, reviewed … Continue reading “Waiting for 9.0 – string_agg”