Tag: postgresql
Indexes in PostgreSQL
One thing that most people don't have to worry about in MySQL is case-sensitivity. Unless you're trying to authenticate a user against a database password and don't use MD5 (like you should!), in which case the password is not case sensitive by default.
In PostgreSQL everything is case sensitive. That means that if you have a […]
Posted: November 2nd, 2005 under Database.
Tags: Database, index, postgresql, sql
Comments: none
PostgreSQL-style COALESCE() in PHP
There's a rather handy command in Oracle, PostgreSQL, SQLite, and MySQL (since version 3.23.3) called COALESCE(). Its purpose is rather simple: return the first non-NULL value (If you're used to older versions of MySQL, the IFNULL() is quite similar, if not as flexible). This comes in handy when you want to use fallback values in […]
Posted: November 11th, 2004 under PHP.
Tags: coalesce, PHP, postgresql
Comments: 1