Re: TypeError: dict is not a sequence

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: thiemo(at)gelassene-pferde(dot)biz, psycopg <psycopg(at)lists(dot)postgresql(dot)org>
Subject: Re: TypeError: dict is not a sequence
Date: 2024-11-01 18:03:47
Message-ID: aef2cefa-cd9d-40fe-bc0b-00748dae9c13@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: psycopg

On 11/1/24 10:23 AM, thiemo(at)gelassene-pferde(dot)biz wrote:
>
> Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> escribió:
>
>> The error messages spell out the problem. or at least an initial one,
>> the GDAL drivers are not being loaded.  Looks like the connection user
>> does not have sufficient privileges to load them.
>
> What I thought. I need to figure out why the owner of the database is
> not allowed to do so. Maybe because it was created from a template
> database where the PostGIS stuff was already installed but by the user
> postgres.

Yeah that is something you will need to sort out. My suggestion would be
to do so using psql as it works closer to the database.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniel Johnson 2024-12-06 01:27:43 Parameter in SQL query being misinterpreted
Previous Message thiemo 2024-11-01 17:23:27 Re: TypeError: dict is not a sequence