Forum OpenACS Q&A: Re: PG 7.2->7.3 upgrade gotcha?

Collapse
Posted by Richard Hamilton on
Tilmann,

Actually I think this is the reason why the two functions are missed also.

I don't have commit rights to the cvs - in fact cvs is one of the next things I need to bone up on!

As far as safety is concerned, I am no regexp expert at all but the [^"]* means anything NOT a " any number of times which restricts the match to a function name rather than some thing like :

CREATE VIEW "acs_func_headers" as SELECT get_func_header("

..which will obviously never be found if the view or function name happens to be >31 chars.

I think that should be robust - can't see why not.

R.