Re: PSQLRestore - Mailing list pgsql-general

From Bob Pawley
Subject Re: PSQLRestore
Date
Msg-id B5EE617AD0B5488D833A6634A96742EE@BobPC
Whole thread Raw
In response to Re: PSQLRestore  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: PSQLRestore
List pgsql-general

-----Original Message-----
From: Adrian Klaver
Sent: Thursday, September 08, 2011 1:41 PM
To: Bob Pawley
Cc: Postgresql
Subject: Re: [GENERAL] PSQLRestore

On 09/08/2011 09:09 AM, Bob Pawley wrote:
> Hi
> I’m having problems making PostgreDAC’s PSQLRestore work without an
> access violation.

The exact error message is?

Access violation at adress 74FF8E0F in module 'msvcrt.dll'. Write os address
004F8574.

> Could someone please point me to an example code that I can check?
> (My PSQLDump is working well, so I am using a valid restore file.)

But are you restoring as a valid user?

I'm not sure.

The properties only refer to a superuser which doesn't appear to be
applicable for a simple restore.

I am going through a PSQLDatabase connection in my normal manner.

The problem seems to be in this code which I am using to transfer from the
opendialogue to PSQLRestore.

FileRestore :=  OpenDialog1.FileName;
      PSQLRestore1.RestoreFromFile(FileRestore, '  ');

I'm not sure what string is expected.

Bob

> Bob


--
Adrian Klaver
adrian.klaver@gmail.com


pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: feature request - update nowait
Next
From: Eduardo Piombino
Date:
Subject: Re: feature request - update nowait