On Fri, Jan 08, 2010 at 02:39:03PM -0200, Fernando Morgenstern wrote: > postgres=# \l > List of databases > Name | Owner | Encoding | Collation | Ctype | Access privileges > -----------+----------+----------+-------------+-------------+----------------------- > skynet | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | > t1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | > template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres > : postgres=CTc/postgres > template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres > : postgres=CTc/postgres There's an extra space at the beginning of the "skynet" line, could it be that you created it with special characters in the name? To check, I'd try: select quote_ident(datname) from pg_database; -- Sam http://samason.me.uk/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general