PostgreSQL8.1 “client encoding mismatch” with ODBC
While connecting to PostgreSQL using UnixODBC (from R, but this doesn’t matter) I got the following error: [unixODBC]client encoding mismatch It seems that there is some problem with PostgreSQL 8.1 and...
View ArticlePostgreSQL 8 performance tuning
Here’s my list of pointers: Power PostgreSQL – really detailed and up-to-date information on setting PostgreSQL runtime parameters. Don’t forget to check the annotated postgresql.conf with comments....
View ArticleInstallig DB2 on Linux
A few links I found useful while installing DB2 on Debian/Gentoo, etc: An alternate method of installing DB2 on Unix platforms RedBook: Up and Running with DB2 on Linux
View ArticleGrant privileges on all tables in one go
PostgreSQL: Grant privileges on all tables in one go using shell scripts or stored procedures.
View ArticleUpgrading Postgres 7.4 to 8.0 in Debian
I recently had to upgrade my PostgreSQL 7.4 to 8.0 in Debian and learned that there is a cool way of doing this. This procedure is described in /usr/share/doc/postgresql-common/architecture.html. In a...
View ArticleDBAzine.com: SQL Views Transformed
All you wanted to know about views and materialized views in databases: DBAzine.com: SQL Views Transformed
View ArticlePostgreSQL8.0 supports XML!
Cool. It looks that PostgreSQL8.0 supports XML as an additional extension (contrib driectory). In gentoo you can compile it specifying +xml2 option. Now how to use it: 1. you need to create xml...
View ArticleSlow aggergate queries in PostgreSQL
Postgres is strange. If you make a query select min(column_with_index) from table; the database performs a sequential scan – you can only imagine how long it takes on a 10M record database. This seems...
View ArticlePostgreSQL Autodoc
A drawing tool generaring UML diagrams from Postgresql database in DIA format, HTML and a few others. Not perfect, but quite neat and the diagrams can be eidted with DIA (there also exists a plugin to...
View Article