Quantcast
Channel: Planet PostgreSQL
Browsing all 9642 articles
Browse latest View live

Andrew Dunstan: pgbouncer enhancements

A couple of customers have recently asked for enhancements of pgbouncer, and I have provided them.One that's been working for a while now, puts the address and port of the actual client (i.e. the...

View Article


Hubert 'depesz' Lubaczewski: Waiting for 9.4 – Add support for wrapping to...

On 28th of April, Greg Stark committed patch: Add support for wrapping to psql's "extended" mode. This makes it very   feasible to display tables that have both many columns and some large data in some...

View Article


Tim van der Linden: PostgreSQL: A full text search engine - Part 2

Welcome to the second installment of our look into full text search within PostgreSQL.If this is the first time you heard about full text search I highly encourage you to go and read the first chapter...

View Article

Image may be NSFW.
Clik here to view.

Craig Kerstiens: Postgres Datatypes – The ones you're not using.

Postgres has a variety of datatypes, in fact quite a few more than most other databases. Most commonly applications take advantage of the standard ones – integers, text, numeric, etc. Almost every...

View Article

Jim Mlodgenski: Trigger Overhead

I recently had discussions with some folks about triggers in PostgreSQL. They had two main questions.What is the overhead of putting a trigger on a table?Should a trigger function be generic with IF...

View Article


Josh Berkus: Why you should always set temp_file_limit

"The database is growing at 2GB a minute.  We're 40 minutes away from running out of disk space.""Sounds like I should probably take a look."I looked at the database size, which was 160GB.  But the...

View Article

Image may be NSFW.
Clik here to view.

robert berry: Querying Time Series in Postgresql

Querying Time Series in PostgresqlMay 8, 2014 – Portland, ORThis post covers some of the features which make Postgresql a fun and effective database system for storing and analyzing time series: date...

View Article

Shaun M. Thomas: Trumping the PostgreSQL Query Planner

With the release of PostgreSQL 8.4, the community gained the ability to use CTE syntax. As such, this is a fairly old feature, yet it’s still misunderstood in a lot of ways. At the same time, the query...

View Article


Marko Tiikkaja: PostgreSQL gotcha of the week, week 19

local:marko=# create table foo(); CREATE TABLE local:marko=#* insert into foo default values; INSERT 0 1 local:marko=#* create function getdata(foo) returns table (a int, b int) as $$ begin if random()...

View Article


Image may be NSFW.
Clik here to view.

gabrielle roth: PDXPUG: May meeting next week

When: 7-9pm Thu May 15, 2014Where: IovationWho: Selena DeckelmannWhat: The Final CrontabCrontabber is a new open source utility that makes cron jobs automatically retriable, uses Postgres to store...

View Article

Hans-Juergen Schoenig: Casting integer to IP

Once in a while you have to juggle around with IP addresses and store them / process them in an efficient way. To do so PostgreSQL provides us with two data types: cidr and inet. The beauty here is...

View Article

Image may be NSFW.
Clik here to view.

Josh Berkus: Remastering without restarting

Thanks to Streaming-Only Remastering, PostgreSQL 9.3 has been a boon to high-availability setups and maintenance  You can re-arrange your replicas however you like; remastered, in a tree, in a ring,...

View Article

Michael Paquier: Make Postgres sing with MinGW on Windows

Community usually lacks developers on Windows able to test and provide feedback on patches that are being implemented. Actually, by seeing bug reports from users on Windows on a daily basis (not...

View Article


Pavel Stehule: A speed of PL languages for atypical usage

A speed of PL languages for atypical usageA typical usage of PL languages should be a glue of SQL statements. But sometimes can be useful use these languages for PostgreSQL library enhancing.I test a...

View Article

Hubert 'depesz' Lubaczewski: Joining BTree and GIN/GiST indexes

Today, I'd like to show you how you can use the same index for two different types of conditions. One that is using normal BTree indexing ( equal, less than, greater than ), and one that is using...

View Article


Josh Berkus: cstore_fdw and big data

About a month ago, PostgreSQL fork vendor and Data Warehousing company CitusDB announced the availability of the open-source cstore_fdw.  This foreign data wrapper creates an external table with highly...

View Article

Image may be NSFW.
Clik here to view.

Joel Jacobson: psql \watch 1400000000 epoch time countdown counter

SET TIMEZONE TO 'UTC'; \t \a \pset fieldsep ' ' SELECT (('epoch'::timestamptz + 14*10^8 * '1 s'::interval)-now())::interval(0), (14*10^8-extract(epoch from now()))::int, extract(epoch from now())::int...

View Article


Robert Haas: Troubleshooting Database Corruption

When your database gets corrupted, one of the most important things to do is figure out why that happened, so that you can try to ensure that it doesn't happen again.  After all, there's little point...

View Article

Tim van der Linden: PostgreSQL: A full text search engine - Part 3

And so we arrive at the last part of the series.If you have not done so, please read part one and part two before embarking.Today we will close up the introduction into PostgreSQL's full text...

View Article

Michael Paquier: Postgres 9.4 feature highlight: MSVC installer for client...

Today here is a highlight of a new Postgres 9.4 feature interesting for developers and companies doing packaging of Postgres on Windows as it makes possible the installation of client-only binaries and...

View Article
Browsing all 9642 articles
Browse latest View live