-----Original Message-----
From: Adrian Klaver
Sent: Thursday, September 08, 2011 1:41 PM
To: Bob Pawley
Cc: Postgresql
Subject: Re: 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@xxxxxxxxx
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general