Re: Multi table insert

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Multi table insert
Date: 2006-10-27 12:17:02
Message-ID: 20061027121702.GH14485@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message shaik mastan dilshad 2006-10-27 12:38:51 Re: Copying data from table to table (cloned tables)
Previous Message norman 2006-10-27 12:07:34 Multi table insert