Re: PostgreSQL 10.20 crashes / Antivirus - Mailing list pgsql-general

From Adrian Klaver
Subject Re: PostgreSQL 10.20 crashes / Antivirus
Date
Msg-id f7108b74-64e5-edfa-cfe0-cf75b1fe4854@aklaver.com
Whole thread Raw
In response to RE: PostgreSQL 10.20 crashes / Antivirus  ("Thomas, Richard" <Richard.Thomas@atkinsglobal.com>)
List pgsql-general
On 4/21/22 02:13, Thomas, Richard wrote:
> Adrian (all),
> 
> Thanks for your suggestions. Running the equivalent pg_dump commands at the command line instead of in a script works
fineand generates no errors/warnings/McAfee messages in the Windows Event Viewer or on stdout/stderr. (Most days the
backupscript itself completes running multiple pg_dump without problem). 
 

For the time being a possible solution would be to insert a time out 
between iterations of:

$pgdumpCmd = "C:\Program Files\PostgreSQL\10\bin\pg_dump.exe"
         $pgdumpArgs = @("-b", "-v",
             "-F", "c",
             "-d", $dbName,
             "-h", "localhost",
             "-p", "6488",
             "-U", " backup_su",
             "-f", $backupFile)
         cmd /c $pgdumpCmd $pgdumpArgs 2`>`&1 | Out-File $pgdumpLogFile

> 
> Richard
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Alex Aquino
Date:
Subject: Re: Are stored procedures/triggers common in your industry
Next
From: Adrian Klaver
Date:
Subject: Re: Huge archive log generate in Postgresql-13