pgsql: In plpgsql, don't preassign portal names to bound cursor variabl

2023-01-01 Thread Tom Lane
In plpgsql, don't preassign portal names to bound cursor variables. A refcursor variable that is bound to a specific query (by declaring it with "CURSOR FOR") now chooses a portal name in the same way as an unbound, plain refcursor variable. Its string value starts out as NULL, and unless that's

pgsql: Accept "+infinity" in date and timestamp[tz] input.

2023-01-01 Thread Tom Lane
Accept "+infinity" in date and timestamp[tz] input. The float and numeric types accept this variant spelling of "infinity", so it seems like the datetime types should too. Vik Fearing, some cosmetic mods by me Discussion: https://postgr.es/m/d0bef637-2dbd-0a5d-e539-48243b6f6...@postgresfriends.