Dimitri Fontaine: PGDay France 2012
The french PostgreSQL Conference, pgday.fr, was yesterday in Lyon. We had a very good time and a great schedule with a single track packed with 7 talks, addressing a diverse set of PostgreSQL related...
View ArticleHubert 'depesz' Lubaczewski: “= 123″ vs. “= ‘depesz’” – followup
Yesterday I wrote about selects on int4 vs. texts. One of the comments that caught my attention was question about index creation time. So, let’s see… Before I will comment on sensibility of this test,...
View ArticleLeo Hsu and Regina Obe: Finding contiguous primary keys
I recently had the need to figure out which ranges of my keys were contiguously numbered. The related exercise is finding gaps in data as well. Reasons might be because you need to determine what data...
View ArticleBruce Momjian: Speaking in the Dominican Republic
I have accepted two speaking engagements in the Dominican Republic in mid-June; my website has dates and cities. I don't have any web links for the events, so if you want to attend, email me and I will...
View ArticleHubert 'depesz' Lubaczewski: How much RAM is PostgreSQL using?
(disclaimer: all the data and examples in here are on Linux – the same data can be probably obtained on other systems too, it’s just that I work on Linux and don’t know other systems well). This...
View ArticleHubert 'depesz' Lubaczewski: Why is UPSERT so complicated?
If you worked with certain other (than PostgreSQL) open source database, you might wonder why PostgreSQL doesn’t have MERGE, and why UPSERT example in documentation is so complicated. Well, let’s try...
View ArticleBruce Momjian: What Makes a Great Conference Site
Having just attended the Southeast LinuxFest, I was reminded of the elements that make a great conference site: Hotel connected to the conference venue Affordable hotel Conference venue walking...
View ArticleGreg Sabino Mullane: Detecting Postgres SQL Injection
SQL injection attacks are often treated with scorn among seasoned DBAs and developers - "oh it could never happen to *us*!". Until it does, and then it becomes a serious matter. It can, and most...
View ArticleDavid Fetter: VIEW triggers RETURNING...
Thanks to alecm on freenode for the idea. Access control is an excellent reason for allowing writes to a VIEW but not to the underlying table. You would ideally like that VIEW to act exactly like a...
View ArticleMarc Balmer: Acessing MARC Records Using PostgreSQL
Sitting in one of the nice pubs in Edinburgh during KohaCon 2012, I had the idea to add MARC records as a proper datatype to the PostgreSQL database server. For those not familar wit MARC, it is a...
View ArticleBruce Momjian: The Double-Quote Trap
While the English language is somewhat fluid in its use of single and double quotation marks, sql is very rigid: single-quotes are used to delimit text strings, and double-quotes can be used to delimit...
View ArticleJosh Berkus: Video SFPUG June 13: Build Your Application Inside Postgres
Tommorrow night ( June 13th, 7:15PM PDT ) Leon Starr will be presenting "Building Your Application Inside PostgreSQL" for the San Francisco PostgreSQL User Group. As usual, this SFPUG will be...
View ArticleSelena Deckelmann: Call for Presentations for Postgres Open 2012 is open
Postgres Open welcomes your talks and workshops for our conference. Presentations should be oriented towards the business or development user of PostgreSQL, and should have substantial technical...
View ArticleHubert 'depesz' Lubaczewski: How to send mail from database?
Similar question has been asked many times on mailing lists and on IRC. Sometimes it’s not mail sending, but file/directory creation, or something else that generally requires some interaction with...
View ArticleBruce Momjian: What Are Oids
Object Identifiers (oids) were added to Postgres as a way to uniquely identify database objects, e.g. rows, tables, functions, etc. It is part of Postgres's object-relational heritage. Because oids...
View ArticleTheo Schlossnagle: Peaches and Pecans: thoughts on outward growth
Peaches and pecans on vanilla ice cream is a wonderful thing, but get some perspective on how you came to enjoy it. I have heard (and have told others), “life is too short to do something you don’t...
View ArticleJoe Abbate: PostgreSQL Indexes on Expressions
Pyrseas had its first release a little over a year ago and we now have our first backward compatibility issue. The first release included basic support for traditional indexes, i.e., one or more key...
View ArticleJosh Williams: Security review with Kiel: Time to be paranoid.
Interesting! From storing encrypted documents and occasionally signing email, to its usage in pgcrypto in Postgres, I've done a bit with PGP keys and public key cryptography. But Kiel's been running...
View ArticleBruce Momjian: So You Want to Be a Committer?
With the list of Postgres committers recently updated, I wanted to mention a perplexing question I occasionally get from companies, "How can I become a committer?". This is from companies that are just...
View ArticleJosh Berkus: postgresql.conf: max_locks_per_transaction
PostgreSQL, and the postgresql.conf file, has around 150 parameters which you don't need to care about 98% of the time (as opposed to the 50-or-so settings you do need to care about more often), except...
View Article