Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Multi table insert



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group