Forum OpenACS Development: Response to HOw to calculate line numbers in plpgsql

Collapse
Posted by Dan Wickstrom on
The 'declare' statement is line 1, or if there is no 'declare' statement then start at the 'begin' statement.

I've also created a view that you can use to look at the numbered source for pl/pgsql functions. Do the following:

select * from acs_func_defs where fname = 'static_page__new_folder';