]> granicus.if.org Git - postgresql/commit
Fix a potential infinite loop in appendStringInfo: would lock
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Nov 1998 19:22:24 +0000 (19:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Nov 1998 19:22:24 +0000 (19:22 +0000)
commit8f5ff4cf1c7fac2ab5703a90818524699ad40da3
treee2f64b5e227f33301e9c5c096540149d4f0f6557
parent4f920a66f475e6990e0a5f2beb83adda7dadf856
Fix a potential infinite loop in appendStringInfo: would lock
up if first string to be appended to an empty StringInfo was longer
than the initial space allocation.
Also speed it up slightly.
src/backend/lib/stringinfo.c