Alvaro Herrera <alvhe...@2ndquadrant.com> writes: > So, Tom added a coding pattern for doing this in commit 8f8154a503c7, > which is ostensibly also to be used in pg_regress [1] -- maybe it'd be > useful to have this in src/common?
Done, see pg_get_line() added by 67a472d71. regards, tom lane