Re: PSQLRestore - Mailing list pgsql-general

From Bob Pawley
Subject Re: PSQLRestore
Date
Msg-id 9DD42E78FB6E429AB934114F2BAD3539@BobPC
Whole thread Raw
In response to Re: PSQLRestore  (Raymond O'Donnell <rod@iol.ie>)
Responses Re: PSQLRestore
List pgsql-general

-----Original Message-----
From: Raymond O'Donnell
Sent: Thursday, September 08, 2011 3:23 PM
To: Bob Pawley
Cc: Adrian Klaver ; Postgresql
Subject: Re: [GENERAL] PSQLRestore

On 08/09/2011 23:02, Bob Pawley wrote:
> 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.

Hello Bob,

According to the docs, the second argument should either be a TStrings
object, into which log messages are placed, or else the name of a file
where the log output can be written.

Ray.

Hi Ray

Is there any chance you could send me a short example of what that means.

If so, much appreciated.

Bob



--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

pgsql-general by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: PSQLRestore
Next
From: Steve Crawford
Date:
Subject: Re: 8.4 -> 9.0 upgrade difficulties