postgresql/src/backend/replication/logical
Tom Lane f8a4dd2e14 Fix unsafe coding in ReorderBufferCommit().
"iterstate" must be marked volatile since it's changed inside the PG_TRY
block and then used in the PG_CATCH stanza.  Noted by Mark Wilding of
Salesforce.  (We really need to see if we can't get the C compiler to warn
about this.)

Also, reset iterstate to NULL after the mainline ReorderBufferIterTXNFinish
call, to ensure the PG_CATCH block doesn't try to do that a second time.
2015-01-24 13:25:19 -05:00
..
decode.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
logical.c Replace a bunch more uses of strncpy() with safer coding. 2015-01-24 13:05:42 -05:00
logicalfuncs.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
Makefile
reorderbuffer.c Fix unsafe coding in ReorderBufferCommit(). 2015-01-24 13:25:19 -05:00
snapbuild.c Update copyright for 2015 2015-01-06 11:43:47 -05:00