Andrew Dunstan: Another transformation
A few people have mentioned an hstore to JSON transformation to me. I don't think it's possible to get a perfect fit, but something like this gets fairly close, and will work for many cases: create or...
View ArticleAndrew Dunstan: Tree climbing
We don't provide any special indexing for XML on PostgreSQL - in fact there are no comparison operators defined for the type at all - and the current JSON patch won't provide anything special there...
View ArticleJohn DeSoi: pgEdit on GitHub
The source for the pgEdit TextMate bundle is now available on GitHub at https://github.com/desoi/pgedit-textmate.
View ArticleKeith: PG Extractor - Got Git
I've finally gotten Git support added into pg_extractor. This works pretty much the same as the SVN option did already. One important difference is that there are two options for committing --git This...
View ArticleBruce Momjian: TOAST Queries
As a followup to my previous blog entry, I want to show queries that allow users to analyze TOAST tables. First, we find the TOAST details about the test heap table: SELECT oid, relname, reltoastrelid,...
View ArticleBruce Momjian: New Server
A few weeks ago, I finally replaced my eight-year-old home server. The age of my server, and its operating system, (BSD/OS, last officially updated in 2002) were a frequent source of amusement among...
View ArticleMark Wong: January Meeting Recap
11 people showed up for our first meeting of the new year. Thanks to Iovation for providing a comfortable space with pizza. We will be having another PRP soon, as well as a YAMS hackathon. We may...
View ArticleMarc Balmer: Get Database Security Right
Most open source applications that use a PostgreSQL database follow the same scheme for authorization: A single role is created in the database, which owns all objects in database and has full access...
View ArticleHubert 'depesz' Lubaczewski: Waiting for 9.2 – NULLS from pg_*_size() functions
On 19t of January, Heikki Linnakangas committed patch: Make pg_relation_size() and friends return NULL if the object doesn't exist. That avoids errors when the functions are used in queries like...
View ArticleSelena Deckelmann: I’m keynoting today at SCALE10x
TweetSlides (as of this moment) are here: Mistakes were made. I changed quite a bit of the beginning and end, given how bit the audience is. Previous talks, we’ve usually ended with a fun “omg, here’s...
View ArticleValentine Gogichashvili: Schema based versioning and deployment for PostgreSQL
I am one of the supporters of keeping as much business logic in the database itself. This reduces the access layer of the application to mostly dumb transport and data transformation logic that can be...
View ArticleHubert 'depesz' Lubaczewski: Waiting for 9.2 – split of current_query in...
On 19t of January, Magnus Hagander committed patch: Separate state from query string in pg_stat_activity This separates the state (running/idle/idleintransaction etc) into it's own field ("state"),...
View ArticleHubert 'depesz' Lubaczewski: Some new tools for PostgreSQL or around PostgreSQL
During last months I wrote some tools to help me with my daily duties. I’d like to let you know you about them, as you might find them useful. So, here we go: pg.logs.tail Available from OmniTI SVN....
View ArticleAndrew Dunstan: Using PLV8 to index JSON
People seem to be getting very excited about JSON in 9.2. So I just tried using the new type in combination with PLV8. It seems to work pretty well. Let's say we want to index a field in our JSON...
View ArticleBruce Momjian: More Lessons From My Server Migration
The new server is 2-10 times faster than my old 2003 server, but that 10x speedup is only possible for applications that: Do lots of random I/O, thanks to the SSDs. Postgres already supports...
View ArticleAndrew Dunstan: Setting up PLV8 on Fedora 16
Fedora 16 ships with v8 (I'm not sure how far it goes back, Fedora 15 at least), which makes installing PLV8 extremely easy. Here's what I did earlier today. It took about a minute. I already had an...
View ArticleBruce Momjian: The Most Important Postgres CPU Instruction
Postgres consists of roughly 1.1 million lines of C code, which is compiled into an executable with millions of CPU instructions. Of the many CPU machine-language instructions in the Postgres server...
View ArticleChristophe Pettus: PostgreSQL Performance When It’s Not Your Job
My presentation from SCALE 10x, “PostgreSQL Performance When It’s Not Your Job” is now available for download.
View ArticlePavel Golub: Joomla! 2.5 with PostgreSQL support officially released
Joomla, one of the world’s most popular open source content management systems (CMS) used for everything from websites to blogs to Intranets, today announces the immediate availability of Joomla 2.5....
View ArticleBruce Momjian: Increasing Database Reliability
While database software can be the cause of outages, for Postgres, it is often not the software but the hardware that causes failures — and storage is often the failing component. Magnetic disk is one...
View Article