We\'re developing an application that connects with a postgressql database. We\'re using the pg 8.3.0 node package. Here\'s an example of a query that we pass to pg: