Fix subpath and subltree. Allow to return '' value.

Teodor Sigaev <teodor@sigaev.ru>

Commit: 2c914937c144a25ae02190f8f11cd08731461d4c
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2003-07-18T13:27:43Z
Releases: 7.4.1
Fix subpath and subltree. Allow to return '' value.
subpath(ltree,0,0) returns ''.

Files

PathChange+/−
contrib/ltree/expected/ltree.out modified +6 −6
contrib/ltree/ltree_op.c modified +3 −2