Subselect with incorrect column not a syntax error?

Поиск
Список
Период
Сортировка
От Mike Blackwell
Тема Subselect with incorrect column not a syntax error?
Дата
Msg-id CANPAkgs-cUpD_QShLZ0moJP3=NNdQTW2ch6KBpnk=4pWCAZ=fA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Subselect with incorrect column not a syntax error?
Список pgsql-general
Could someone please explain to me why the following select does not
result in a syntax error?  (9.0.3)

begin;

create table x( c1 integer , c2 integer);
create table y( c3 integer, c4 integer);

select * from x where c2 in ( select c2 from y where c4 = 2 );


rollback;

Mike

В списке pgsql-general по дате отправления:

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: Updating pg_attribute to change field's data type from integer to bigint on very large table
Следующее
От: Jack Christensen
Дата:
Сообщение: Re: Subselect with incorrect column not a syntax error?