Convert contrib/seg's input function to report errors softly

Andrew Dunstan <andrew@dunslane.net>

Commit: 878ce16056c087e2dcd7cc31cd7e4700f407a770
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2022-12-23T14:17:24Z
Releases: 16.0
Convert contrib/seg's input function to report errors softly

Reviewed by Tom Lane

Discussion: https://postgr.es/m/a8dc5700-c341-3ba8-0507-cc09881e6200@dunslane.net

Files

PathChange+/−
contrib/seg/expected/seg.out modified +20 −0
contrib/seg/seg.c modified +2 −2
contrib/seg/segdata.h modified +3 −2
contrib/seg/segparse.y modified +23 −11
contrib/seg/segscan.l modified +9 −3
contrib/seg/sql/seg.sql modified +13 −0

Discussion