Re: pgAdmin 4 - How to I import a .sql file?

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: velvetpixel <velvetpixel(at)gmail(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: pgAdmin 4 - How to I import a .sql file?
Date: 2018-01-04 16:59:26
Message-ID: 6dcf6a72-5eca-f3de-29e3-2251913b7e68@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 04/01/18 16:11, velvetpixel wrote:
> Postgres and pgAdmin newbie.
>
> I have a new empty postgres database on my server. I can see it in pgAdmin
> 4.
>
> I have a .sql file I would like to import to populate that DB with tables
> and data.

Open a query window (Tools -> Query Tool), then you can open your SQL
file and run it there (see the toolbar on the query window).

HTH,

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message velvetpixel 2018-01-04 17:19:37 Re: pgAdmin 4 - How to I import a .sql file?
Previous Message Melvin Davidson 2018-01-04 16:59:05 Re: pgAdmin 4 - How to I import a .sql file?