Re: cache lookup failed for function 0 - Mailing list pgsql-general

From Adrian Klaver
Subject Re: cache lookup failed for function 0
Date
Msg-id 1aa75625-219e-45f1-bcfc-d2c9ee118cb6@aklaver.com
Whole thread Raw
In response to Re: cache lookup failed for function 0  (pf@pfortin.com)
Responses Re: cache lookup failed for function 0
List pgsql-general
On 9/30/23 11:32, pf@pfortin.com wrote:
> On Sat, 30 Sep 2023 13:20:14 -0400 Tom Lane wrote:
> 

> As vanilla as it gets... Standard locale (C). The only odd thing that
> happened: a system update the other day installed and started something
> called tracker-miners which I was not happy with:
> https://bugs.mageia.org/show_bug.cgi?id=32340
> I was quite upset that the distro guys would install/run what they thought
> could be a "cool" tool (as you'll see in the above link).
> 
>> 2. There's something wrong with your Postgres installation.
> 
> Scary; but that's what I'm suspecting too now...

The script ran on my installation also. It would seem it is something on 
your end. Has there been any issues with your machine and/or database 
e.g. crashes or other odd behavior(not counting the tracker-miners update)?

FYI, since you are using psycopg2 you might want to use the built in 
tools for:

    a) Dynamic SQL
    https://www.psycopg.org/docs/sql.html

    b) COPY
      https://www.psycopg.org/docs/usage.html#using-copy-to-and-copy-from

> 
> Understood; I wasn't sure which rabbit hole to go down; but this is
> starting to smell like a DB issue...  I'll see about re-installing the
> server and pray the DB is sane...  If the above tracker-miners found my
> postgres installation and added something to it; then I will be EXTREMELY
> upset...

 From here:

https://github.com/GNOME/tracker-miners

it looks like the software use SQLite for data storage.

> 
> Thanks for confirming my simple SQL runs...
> 
>>             regards, tom lane
> 
> Thanks Tom!
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: pf@pfortin.com
Date:
Subject: Re: cache lookup failed for function 0
Next
From: pf@pfortin.com
Date:
Subject: Re: cache lookup failed for function 0