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: 987977560908091252s4e64860es5d3f5a5c59f20b6a@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi,

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.

thanks

Responses

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-2014 The PostgreSQL Global Development Group