From: | "Bob Pawley" <rjpawley(at)shaw(dot)ca> |
---|---|
To: | "Adrian Klaver" <adrian(dot)klaver(at)gmail(dot)com> |
Cc: | "Postgresql" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: PSQLRestore |
Date: | 2011-09-08 22:02:56 |
Message-ID: | B5EE617AD0B5488D833A6634A96742EE@BobPC |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Eduardo Piombino | 2011-09-08 22:13:05 | Re: feature request - update nowait |
Previous Message | Merlin Moncure | 2011-09-08 21:39:22 | Re: feature request - update nowait |