Re: cache lookup failed for function 0

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: pf(at)pfortin(dot)com, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: cache lookup failed for function 0
Date: 2023-09-30 20:40:37
Message-ID: 1aa75625-219e-45f1-bcfc-d2c9ee118cb6@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/30/23 11:32, pf(at)pfortin(dot)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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pf 2023-09-30 21:54:14 Re: cache lookup failed for function 0
Previous Message pf 2023-09-30 18:32:55 Re: cache lookup failed for function 0