Re: large going giving errors.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: large going giving errors.
Дата
Msg-id 3119.992468325@sss.pgh.pa.us
обсуждение исходный текст
Ответ на large going giving errors.  (<jeff@tht.net>)
Список 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 по дате отправления:

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Determine the time difference from records in a select
Следующее
От: Gary Stainburn
Дата:
Сообщение: search/replace in update