aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs_new.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-02-03 15:20:48 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-02-03 15:20:48 -0500
commit900679245de9d7f407dc72c34a5beb4124955f6f (patch)
treef25fcaa5c492355fdca57a82f1e6ddd9d6425a5c /src/tutorial/funcs_new.c
parentd0f83327d3739a45102fdd486947248c70e0249d (diff)
downloadpostgresql-900679245de9d7f407dc72c34a5beb4124955f6f.tar.gz
postgresql-900679245de9d7f407dc72c34a5beb4124955f6f.zip
Fix breakage in GEODEBUG debug code.
LINE doesn't have an "m" field (anymore anyway). Also fix unportable assumption that %x can print the result of pointer subtraction. In passing, improve single_decode() in minor ways: * Remove unnecessary leading-whitespace skip (strtod does that already). * Make GEODEBUG message more intelligible. * Remove entirely-useless test to see if strtod returned a silly pointer. * Don't bother computing trailing-whitespace skip unless caller wants an ending pointer. This has been broken since 261c7d4b653bc3e44c31fd456d94f292caa50d8f. Although it's only debug code, might as well fix the 9.4 branch too.
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions