Michael Paquier: Postgres 9.5 feature highlight: Allocation routine...
A couple of days ago the following commit has popped up in PostgreSQL tree for the upcoming 9.5, introducing a feature particularly interesting for developers of backend extensions and plugins:commit:...
View ArticlePierre Ducroquet: Modern C++ stored procedure wrapper
In a application following an intelligent database design, calls to stored procedures happen very often and thus must be done with as little boilerplate as possible. Usually frameworks abstracting...
View ArticleBruce Momjian: Sharding Presentation
As a followup to my scaling talk, I have written a draft of another talk, The Future of Postgres Sharding. It starts by explaining the advantages of sharding as a scaling option. It then covers future...
View ArticleMarkus Winand: Modern SQL in PostgreSQL [and other databases]
“SQL has gone out of fashion lately—partly due to the NoSQL movement, but mostly because SQL is often still used like 20 years ago. As a matter of fact, the SQL standard continued to evolve during the...
View ArticleErnst-Georg Schmid: Finding mass spectra with PostgreSQL: Spectral contrast...
The spectral contrast angle of two spectra is another, according to literature, one of the methods for comparing spectra by similarity.The spectral contrast angle S is calculated by building a...
View ArticlePavel Stehule: template_fdw
HiI wrote a template foreign data wrapper. It is very simple FDW, that doesn't allow any DML and SELECT operation over table. It is based on Andrew Dunstan's blackhole FDW. What is benefit of this...
View ArticleHans-Juergen Schoenig: Geocoding: Entertaining results
Recently I was working on a project which had a need for geocoding. Normally we use PostGIS along with some free data for geocoding (http://postgis.net/docs/Geocode.html). However, to cross check data...
View ArticleFeng Tian: Julia, Postgres on Mac
I took Julia, PostgreSQL to a test drive on my macbook. It worked like charm.First, the Juno IDE is quite nice. Download, drag, drop, open, runs! Connection to Postgres via libpq is not very...
View ArticleErnst-Georg Schmid: count(*) is faster than count(1)
Today I've discovered incidentally, that count(*) is faster than count(1) on PostgreSQL 9.3:create table hmr(id serial, value real);insert into hmr (value) select random()*10000000 from...
View ArticleHubert 'depesz' Lubaczewski: Fixed a bug in OmniPITR
Just thought I'll share a “fun" story. Friend reported weird bug – OmniPITR reported that xlogs are sent to archive, but they actually weren't. After some checking we found out that he was giving...
View ArticleAndrew Dunstan: New release of PLV8
I have released a new version of PLV8, which now builds on PostgreSQL 9.4, as well as containing a number of bug fixes.It can be downloaded at http://pgxn.org/dist/plv8Enjoy
View ArticleChristophe Pettus: Logical Decoding and JSON Talks at FOSDEM
The slides for my talks on logical decoding and the state of the art in JSON are now available on-line.
View ArticleErnst-Georg Schmid: count(*) is faster than count(1) revisited
Whoa, I didn't expect that much resonance to the last post. :-)"Can you post the `explain analyze` output of both queries? I'm pretty sure this is normal "distribution" caused by other stuff going on...
View ArticleChristoph Berg: apt.postgresql.org statistics
At this year's FOSDEM I gave a talk in the PostgreSQL devroom about Large Scale Quality Assurance in the PostgreSQL Ecosystem. The talk included a graph about the growth of the apt.postgresql.org...
View ArticleHubert 'depesz' Lubaczewski: Returning data in multiple columns
I was working today on some updates to client database. While doing it, I figured it would be simpler if I saw all “codenames" and ids of rows from dictionary table – not so big. But it was bigger than...
View ArticlePavel Stehule: Simple multicolumn ouput in psql
There are interesting idea on Depesz's blog .But some possibility has a Linux itself. There is simple pager column.You can try (blogger engine break formatting):postgres=# \pset tuples_onlypostgres=#...
View ArticleMarko Tiikkaja: allas: connection pooling for LISTEN / NOTIFY
Lately I've been working on a connection pooler which only supports LISTEN / NOTIFY. The idea is to be able to keep the number of Postgres connections down without having to give up (or come up with a...
View ArticleErik Van Norstrand: Architecture Is Key
Developing good software requires three key components: A strong base set of projects that build a framework for further development. A database and database architecture that scales as you add data. A...
View ArticleJehan-Guillaume (ioguix) de Rorthais: Partitioning and constraints part 1 -...
Partitioning in PostgreSQL has been an artisanal work for a long time now. And despite the current discussion running since few month on PostgreSQL’s hackers mailing list, it will probably stay this...
View ArticleErnst-Georg Schmid: count(*) is faster than count(1) - not in 9.4
In PostgreSQL 9.4, count(1) speed is equal to count(*). Another reason to upgrade to 9.4.count(<column>) is still slower if no index is used...
View Article