* Append the function text starting at startlocation and extending to * (not including) endlocation onto the existing contents of "buf". */
| 404 | * (not including) endlocation onto the existing contents of "buf". |
| 405 | */ |
| 406 | void |
| 407 | plpgsql_append_source_text(StringInfo buf, |
| 408 | int startlocation, int endlocation) |
| 409 | { |
| 410 | Assert(startlocation <= endlocation); |
| 411 | appendBinaryStringInfo(buf, scanorig + startlocation, |
| 412 | endlocation - startlocation); |
| 413 | } |
| 414 | |
| 415 | /* |
| 416 | * Peek one token ahead in the input stream. Only the token code is |
nothing calls this directly
no test coverage detected