Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Posts
    1

    Unanswered: Execute command from file in postgres

    Hi all,

    I want to execute postgres command from file in command line.
    This is command:
    my_db=# \i file_name.sql

    And this is error return
    D:: Permission denied

    Pls help me to resolve this.

    Thanks,
    Anthony

  2. #2
    Join Date
    Nov 2006
    Posts
    82
    Oh man, change the file permissions. What OS do you use?

Posting Permissions

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