Skip site navigation (1) Skip section navigation (2)

could not open relation: Invalid argument

From: "Roberts, Jon" <Jon(dot)Roberts(at)asurion(dot)com>
To: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: could not open relation: Invalid argument
Date: 2008-01-11 15:32:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Version: PostgreSQL 8.2.5 on i686-pc-mingw32

I recently started getting this error message randomly, "could not open
relation 42904/42906/42985: Invalid argument".  I also got it for a couple
of other files.  All three files are related to tables that have just a
single row each.

I googled the error message and found that this looks like a problem on
Windows (which I'm running until we get access to our Linux server) and
probably related to anti-virus scanning.  Having run Oracle on Windows
before, I have experienced the problem with an anti-virus scanner locking a
file and causing the database to error.  I thought I understood and fixed
the problem.

Today, I used pgAdmin to Vacuum Analyze the entire database.  It flew
through this task as my database is fairly small.  However, when it got to
the three tables that exhibited this error message, it hung.  It took maybe
2-3 seconds to vacuum analyze each one of these tables.

Now I don't get it.  Was there something corrupt in the file and it wasn't
related to the anti-virus scanner?  



pgsql-hackers by date

Next:From: Tom LaneDate: 2008-01-11 15:41:17
Subject: Re: scan.l: check_escape_warning()
Previous:From: Michael MeskesDate: 2008-01-11 15:16:12
Subject: scan.l: check_escape_warning()

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group