Re: Multi table insert - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: Multi table insert
Date
Msg-id 20061027121702.GH14485@a-kretschmer.de
Whole thread Raw
In response to Multi table insert  (norman <norman_khine@yahoo.co.uk>)
List pgsql-novice
am  Fri, dem 27.10.2006, um 13:07:34 +0100 mailte norman folgendes:
> Hello,
> I have created a multi-table insert script in python, the problem is that this
> worked fine on an older PostgreSQL db (7.2) but now I get an
>
> Error, psycopg2.ProgrammingError: missing FROM-clause entry for table
> "business_name_business_name_seq"
>
> Here is part of the script
>
> It is a Z SQL Method for Zope.

I'm not familar with Zope, but the error is clear, this is a new
behavior since 8.x.



As a fast work around you can set add_missing_from to on in your
postgresql.conf.


More infos:

http://developer.postgresql.org/pgdocs/postgres/runtime-config-compatible.html


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-novice by date:

Previous
From: norman
Date:
Subject: Multi table insert
Next
From: "George Pavlov"
Date:
Subject: Re: Multi table insert