Skip site navigation (1) Skip section navigation (2)

psql o and g options not working

From: robin isard <robin(dot)isard(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: psql o and g options not working
Date: 2009-08-09 19:52:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

Whenever I try to use the \o or \g options to output a sql query to a
file, I always get a "File or directory does not exist error."  The
file does exist and I've given it every permission possible, ensured
it's owned by the postgres user, and made sure it's in a directory
postgres can write to.

What am I doing wrong?  I'm using postgresql 8.3.



pgsql-novice by date

Next:From: Andreas WenkDate: 2009-08-09 20:35:03
Subject: Re: psql o and g options not working
Previous:From: Bruce MomjianDate: 2009-08-09 18:13:46
Subject: Re: Veritas netbackup live backup?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group