]> granicus.if.org Git - postgresql/commitdiff
Fix incorrect routine name in xlog_heapam.h
authorMichael Paquier <michael@paquier.xyz>
Fri, 9 Nov 2018 23:58:55 +0000 (08:58 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 9 Nov 2018 23:58:55 +0000 (08:58 +0900)
s/xl_heap_delete/xl_heap_truncate/ in a comment block referring to flags
for truncation.

Discussion: https://postgr.es/m/20180413034734.GE1552@paquier.xyz

src/include/access/heapam_xlog.h

index 695eaa1e49cc998a93decd95c2410de4c4f38826..914897f83db17b41c8069c94c9b72b691c5cda77 100644 (file)
@@ -111,7 +111,7 @@ typedef struct xl_heap_delete
 #define SizeOfHeapDelete       (offsetof(xl_heap_delete, flags) + sizeof(uint8))
 
 /*
- * xl_heap_delete flag values, 8 bits are available.
+ * xl_heap_truncate flag values, 8 bits are available.
  */
 #define XLH_TRUNCATE_CASCADE                                   (1<<0)
 #define XLH_TRUNCATE_RESTART_SEQS                              (1<<1)