Cursor case-sensitivity
| От | Key88 SF |
|---|---|
| Тема | Cursor case-sensitivity |
| Дата | |
| Msg-id | F724uC0PcewUiz9xWyh0000006c@hotmail.com обсуждение |
| Ответы |
Re: Cursor case-sensitivity
|
| Список | pgsql-bugs |
Not sure if this is known or not, but apparently cursors names are not appropriately case-lowered when dealing with functions that return cursors. Using the example straight from the documentation at http://developer.postgresql.org/docs/postgres/plpgsql-cursors.html: This works: BEGIN; SELECT reffunc('funccursor'); FETCH ALL IN funccursor; COMMIT; But this doesn't work: BEGIN; SELECT reffunc('funcCursor'); FETCH ALL IN funcCursor; COMMIT; This 2nd one gives a warning in the log of: WARNING: PerformPortalFetch: portal "funccursor" not found. -Dave _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
В списке pgsql-bugs по дате отправления: