Szymon Guz: Filling Gaps in Cumulative Sum in Postgres
I found an interesting problem. There was a table with some data, among which there was a date and an integer value. The problem was to get cumulative sum for all the dates, however including dates for...
View ArticleOleg Bartunov: Jsonb: "Wildcard" query
Just to let people know about our experiments.Consider this top-level query, which well supported by GIN in 9.4.postgres=# select count(*) from jb where jb @> '{"tags":[{"term":"NYC"}]}'::jsonb;...
View ArticleFrancisco Figueiredo Jr: Npgsql 2.1.3 released!
This version restores the @@ operator support removed in the previous version. Thanks Glen Parker who provided a fix.Downloads can be found at the usual locations:github download pageandthe nuget...
View ArticleSzymon Guz: Speeding Up Saving Millions of ORM Objects in PostgreSQL
The ProblemSometimes you need to generate sample data, like random data for tests. Sometimes you need to generate it with huge amount of code you have in your ORM mappings, just because an architect...
View ArticleMichael Paquier: Testing heartbleed on Postgres
Except if you have been cut from the Internet the last week, you have already heard of Heartbleed. This good candidate for the "Bug of the Year 2014" price is already costing a better-not-to-count...
View ArticleHubert 'depesz' Lubaczewski: Waiting for 9.4 – Provide moving-aggregate...
On 13th of April, Tom Lane committed patch: Provide moving-aggregate support for a bunch of numerical aggregates. First installment of the promised moving-aggregate support in built-in aggregates:...
View Articlegabrielle roth: PDXPUG: April meeting this week
When: 7-9pm Thu April 17, 2014Where: IovationWho: Brian PanullaWhat: Intro to Graph DatabasesBrian Panulla is a Business Intelligence Developer at Acureo. He’s been fulfilling PDXPUG’s rhombic...
View ArticleHans-Juergen Schoenig: Regular expressions unleased
When cleaning up some old paperwork this weekend I stumbled over a very old tutorial. In fact, I have received this little handout during a UNIX course I attended voluntarily during my first year at...
View ArticleDan Langille: Have you never been to PGCon?
I remember a time when I’d never been to a conference related to my passions. Once I went, things changed. I realized that making strong working relationships with others who share my passion is...
View ArticleJim Mlodgenski: PostgreSQL Videos
With all of the new users to PostgreSQL, one of the things we wanted to do for PGConf NYC this year was to have a video showing the history of PostgreSQL. We ended up with a very professional video...
View ArticleRobert Haas: Why The Clock is Ticking for MongoDB
Last month, ZDNet published an interview with MongoDB CEO Max Schireson which took the position that the document databases, such as MongoDB, are better-suited to today's applications than traditional...
View ArticleMichael Paquier: Postgres 9.4 feature highlight: Basics about logical decoding
The second huge feature coming in PostgreSQL 9.4 with jsonb is called logical decoding. In short, it is a new plugin facility that can be used to decode changes that happen on a database and stream...
View ArticleDimitri Fontaine: New York!
A couple of week ago I had the chance to participate into the PGConf NYC 2014 Conference, one of the biggest conferences about PostgreSQL worldwide. I presented one of my favourite talks over there,...
View ArticleDave Cramer: PostgreSQL JDBC example with Spring Transactions
Using PostgreSQL JDBC with Spring.This article came about after a user filed an issue on the JDBC listThe specific issue is that I’m using SimpleJdbcCall.execute() to call the database and getting back...
View ArticleJeff Frost: Grabbing the statement durations out of a log file using gnu grep
Sometimes I find myself wanting to grep all the query durations out of a file for sorting. I recently discovered that I can use gnu grep's lookbehind syntax like so:grep -oP '(?<=duration:...
View Articlegabrielle roth: What’s a Chelnik, you ask?
PDXPUG’s official logo is a mask-wearing Slonik:Hir name is Chelnik. Sort of like Slonik, but different.*A couple years ago, my co-leader Mark Wong starting making amigurumi, little crocheted stuffed...
View ArticleBaji Shaik: Difference between Warm, hot standby and Streaming Replication:
We all know about replication and its types in postgresql. There are basic 3 types of replication in postgresql i.e Warm, hot standby and Streaming Replication. I used to get confused between these...
View ArticleMarko Tiikkaja: UPSERTisms in Postgres
As I'm sure a lot of people know already, PostgreSQL 9.4 will eventually be released without "native" support for UPSERT. That said, it's still one of the most common questions on the excellent...
View ArticleRaghavendra Rao: Faster statistics update after upgrade using "vacuumdb...
As all of you know after upgrading the database server from one version to other major version, ANALYZE command should be executed to update the pg_catalogs on newly populated data. On a huge upgraded...
View ArticleDavid Fetter: 9.4: Quantiles!
PostgreSQL 9.4 has an amazing feature hidden underneath a complicated syntax. Here's a neat way to use it. Continue reading "9.4: Quantiles!"
View Article