This patch adds a check to error out if this is specified.
There was a test for this, but that test errored out for a different reason, so it was not effective.
discovered by Jian He at [0][0]: https://www.postgresql.org/message-id/cacjufxegpytfe79hbsmeoboivfnnprsw7gjvk67m1x2mqgg...@mail.gmail.com