Re: Add null termination to string received in parallel apply worker - Mailing list pgsql-hackers

From Peter Smith
Subject Re: Add null termination to string received in parallel apply worker
Date
Msg-id CAHut+PtTSue+gkurguEyXC=XSf64AW3=Xtf+YBciKUzpeBcN+Q@mail.gmail.com
Whole thread Raw
In response to Add null termination to string received in parallel apply worker  ("Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>)
List pgsql-hackers
Hi Hou-san.

+ /*
+ * Note that the data received via the shared memory queue is not
+ * null-terminated. So we use the StringInfo API to store the
+ * string so as to maintain the convention that StringInfos has a
+ * trailing null.
+ */

"... that StringInfos has a trailing null."

Probably should be either "StringInfo has" or "StringInfos have"

======
Kind Regards.
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Sergei Glukhov
Date:
Subject: Re: Problem, partition pruning for prepared statement with IS NULL clause.
Next
From: David Rowley
Date:
Subject: Re: Problem, partition pruning for prepared statement with IS NULL clause.