Running sql script produced by pg_dump 9.1. Is it possible?
Posted: Sat 24 Sep 2011 09:17
I am looking to create a db schema using Devart calls from a script produced through pgdmin backup mechanism.
The opening lines are:
Does Devart support this code? Or is it possible to tell restore/pgsqlscript to ignore errors?
Thanks
The opening lines are:
It errors "near EXTENSION"SET statement_timeout = 0;
SET client_encoding = 'LATIN1';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
--
-- TOC entry 513 (class 3079 OID 11638)
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
Does Devart support this code? Or is it possible to tell restore/pgsqlscript to ignore errors?
Thanks