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

Started by Andrew Dunstanover 3 years ago1 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

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

Reviewed by Tom Lane

Discussion: /messages/by-id/a8dc5700-c341-3ba8-0507-cc09881e6200@dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/878ce16056c087e2dcd7cc31cd7e4700f407a770

Modified Files
--------------
contrib/seg/expected/seg.out | 20 ++++++++++++++++++++
contrib/seg/seg.c | 4 ++--
contrib/seg/segdata.h | 5 +++--
contrib/seg/segparse.y | 34 +++++++++++++++++++++++-----------
contrib/seg/segscan.l | 12 +++++++++---
contrib/seg/sql/seg.sql | 13 +++++++++++++
6 files changed, 70 insertions(+), 18 deletions(-)