Results 1 to 2 of 2

Thread: pg_dump error

  1. #1
    Join Date
    Jan 2004

    Unanswered: pg_dump error


    I am trying to dump the data from my old server to new server.
    When I do pg_dump, I get following error.
    Anybody knows why and how I can avoid it?

    [admin@www bin]$ ./pg_dump -d db_name > myfile
    dumpSequence(sqplace): SELECT failed. Explanation from backend: 'ERROR: sqplace: Permission denied.


  2. #2
    Join Date
    Aug 2003
    I would assume that the backend is running as user postgres. As it's the backend that's writing the file, maybe the user postgres doesn't have permission to create the file myfile where you're wanting it to be written. Try creating a tmp directory and setting the permissions so everyone can write to it, then try again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts