Cursor declaration

Поиск
Список
Период
Сортировка
От Nigel Horne
Тема Cursor declaration
Дата
Msg-id 1125401666.3446.8.camel@laptop1.home-network2.net
обсуждение исходный текст
Ответы Re: Cursor declaration  (Richard Huxton <dev@archonet.com>)
Re: Cursor declaration  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
How do I declare a cursor in a stored procedure if that cursor contains
a WHERE which depends on the argument given to that stored procedure?

I can't get passed this message:

'Cannot mix placeholder styles "$1" and ":foo"'

The message doesn't give a useful line number, so I don't even know
which
line it's complaining about.

-Nigel


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

Предыдущее
От: Crystle Numan
Дата:
Сообщение: Re: Select gives the wrong results
Следующее
От: Clodoaldo Pinto
Дата:
Сообщение: Re: update functions locking tables