Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Calls to ROW and anonymous row operators sometimes print too many spaces. For example, "VALUES (1, TRUE)" is converted to SQL as
VALUES (1, TRUE)
(Note two spaces after "VALUES".)
The cause is that the argument to VALUES is initially represented as a call to the ROW operator, "ROW (1, TRUE)", and later converted to a call to the anonymous row operator. The anonymous row operator, whose name is " " (one space), does not to be preceded by white space, but the one white space " " has already been printed.