import .sql file into PostgreSQL database

From: Gaurav Jindal <gaurjin(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: import .sql file into PostgreSQL database
Date: 2014-04-08 03:33:24
Message-ID: CAFWM-9uhr3dw2LNawO2gFDCVNpEivQwhv1k9+FzBELPzdW5QrQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How to import the .sql file using PSQL or PgAdmin? Can anyone guide me with
details and step by step instructions.

I tried \i filename.sql command but permission denied. I don't know how to
make it work. Can anyone helps me out. Thanks!

Gaurav

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert DiFalco 2014-04-08 03:46:36 Server Timezone
Previous Message Andrew Sullivan 2014-04-08 00:06:27 Re: Postgres as In-Memory Database?