Fix a couple of comments.

These were discovered while reviewing Aleksander Alekseev's
proposed changes to pgindent.

Oversights in commits 393e0d2314 and 25a30bbd42.

Discussion: https://postgr.es/m/aP-H6kSsGOxaB21k%40nathan
pull/246/head
Nathan Bossart 2 months ago
parent 2e84248d64
commit 123661427b
  1. 2
      src/backend/executor/nodeWindowAgg.c
  2. 2
      src/backend/storage/ipc/waiteventset.c

@ -1473,7 +1473,7 @@ release_partition(WindowAggState *winstate)
*
* The caller must have already determined that the row is in the partition
* and fetched it into a slot if fetch_tuple is false.
.* This function just encapsulates the framing rules.
* This function just encapsulates the framing rules.
*
* Returns:
* -1, if the row is out of frame and no succeeding rows can be in frame

@ -2010,7 +2010,7 @@ ResOwnerReleaseWaitEventSet(Datum res)
* NB: be sure to save and restore errno around it. (That's standard practice
* in most signal handlers, of course, but we used to omit it in handlers that
* only set a flag.) XXX
*
*
* NB: this function is called from critical sections and signal handlers so
* throwing an error is not a good idea.
*

Loading…
Cancel
Save