Is this a bug in 7.1?

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Is this a bug in 7.1?
Date: 2001-03-13 10:39:31
Message-ID: 200103131039.f2DAdVG32736@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is this a bug or missing feature in 7.1? or have I got the SQL
wrong?

bray=# SELECT DISTINCT p.id, p.name, a.town
bray-# FROM (
bray(# SELECT id, name
bray(# FROM customer
bray(# UNION
bray(# SELECT id, name
bray(# FROM supplier
bray(# ) AS p
bray-# LEFT OUTER JOIN address AS a
bray-# ON p.address = a.id
bray-# WHERE p.id = '22002';
ERROR: function applied to tuple is not supported for subSELECTs

What does the error message mean? I can't see where a function
is involved.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Who is like Thee among the gods, O Lord? Who is like
Thee, majestic in holiness, awesome in praises,
working wonders?"
Exodus 15:11

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2001-03-13 10:53:17 Re: Is this a bug in 7.1?
Previous Message z.nijmeyers 2001-03-13 09:50:49 postgresql to mysql conversion?