Re: Problem on function returning setof custom type

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Problem on function returning setof custom type
Дата
Msg-id 20050622091756.Q32802@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Problem on function returning setof custom type  (Pablo Baena <pbaena@gmail.com>)
Ответы Re: Problem on function returning setof custom type
Список pgsql-general
On Wed, 22 Jun 2005, Pablo Baena wrote:

> FOR rec IN SELECT test.id <http://test.id>, test.blow, test1.bla2
> FROM test
> LEFT JOIN test1 ON test.id <http://test.id> = test1.id <http://test1.id>WHERE
> test1.bla2=\'$1\' LOOP

This is going to compare to the exact string '$1' not to the value of the
argument since you've quoted it.  I think you'd just want test1.bla2 = $1
there.

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

Предыдущее
От: SCassidy@overlandstorage.com
Дата:
Сообщение: setting up PostgreSQL on Linux RHL9 to allow ODBC connections from Windows
Следующее
От: Pablo Baena
Дата:
Сообщение: Re: Problem on function returning setof custom type