Skip to content

Commit

Permalink
Fixed cleanup on various kinds of errors.
Browse files Browse the repository at this point in the history
For example, when replication slots could not be created, when worker could
not start, etc.
  • Loading branch information
Antonin Houska committed Feb 6, 2024
1 parent 04e8559 commit a9dc2b7
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 171 deletions.
2 changes: 1 addition & 1 deletion pg_squeeze.h
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ typedef struct WorkerTask
ReplSlotStatus repl_slot;

#define ERROR_MESSAGE_MAX_SIZE 1024
char error_msg[];
char error_msg[ERROR_MESSAGE_MAX_SIZE];
} WorkerTask;

extern WorkerSlot *MyWorkerSlot;
Expand Down
Loading

0 comments on commit a9dc2b7

Please sign in to comment.