Re: large going giving errors. - Mailing list pgsql-sql

From Tom Lane
Subject Re: large going giving errors.
Date
Msg-id 3119.992468325@sss.pgh.pa.us
Whole thread Raw
In response to large going giving errors.  (<jeff@tht.net>)
List pgsql-sql
<jeff@tht.net> writes:
> SELECT
o.name,o,contactname,o.contactphone,o.fax,o.emailaddy,o.freetelephone,o.address1,o.address2,uw.id,m.manufacturer,i.type,uw.model,uw.color,uw.size,uw.price
>   FROM user_wantads AS uw,organisations AS o,users AS u ,itemtypes AS i,itemmanufacturers AS m,provinces AS p,cities
ASct,countries AS cy
 
>  WHERE uw.owner = u.loginid
>    AND u.belongsto = o.organisationid
>    AND m.id=uw.manufacturer
>    AND i.id=uw.itemtype
>    AND o.provinceid=p.provinceid
>    AND o.cityid=ct.cityid AND o.countryid=cy.countryid
>    AND uw.id=9

> ERROR:  copyObject: don't know how to copy 704

You probably wanted "o.contactname" not "o,contactname".

7.2 will give a more useful error message for this sort of mistake ...
        regards, tom lane


pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Determine the time difference from records in a select
Next
From: Gary Stainburn
Date:
Subject: search/replace in update