> My experience with Squirrel was that it worked fine for very simple
> queries, and as soon as you got outside the box it started doing the
> stuff the OP is seeing. For postgresql the preferred GUI is pgadmin
> III, but psql is the best text only interface for a db on the planet.
>
I'm just using squirrel to test queries prior to throwing them into
perl. Thanks everybody for the help.