Re: large going giving errors.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jeff(at)tht(dot)net
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: large going giving errors.
Date: 2001-06-13 21:38:45
Message-ID: 3119.992468325@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

<jeff(at)tht(dot)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 AS ct,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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Hugh Mandeville 2001-06-13 23:24:11 Re: binary data
Previous Message Hunter, Ray 2001-06-13 21:27:26 Getting a specific row from a table