diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-12-15 21:02:31 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-12-15 21:02:31 -0500 |
commit | 290f1603b4208ca6a13776f744b586a958e98d74 (patch) | |
tree | e77a56321d8c83664957e03367c24a105a922b4e /src | |
parent | afc8f47b5885716db716a2523c00f7465cb7f415 (diff) | |
download | postgresql-290f1603b4208ca6a13776f744b586a958e98d74.tar.gz postgresql-290f1603b4208ca6a13776f744b586a958e98d74.zip |
Some copy editing of pg_read_binary_file() patch.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/adt/genfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/genfile.c b/src/backend/utils/adt/genfile.c index e9212500c23..8a9012e0546 100644 --- a/src/backend/utils/adt/genfile.c +++ b/src/backend/utils/adt/genfile.c @@ -152,7 +152,7 @@ read_binary_file(text *filename_t, int64 seek_offset, int64 bytes_to_read) } /* - * In addition to read_binary_file, verify whether the contents are encoded + * Similar to read_binary_file, but we verify that the contents are valid * in the database encoding. */ static text * @@ -163,7 +163,7 @@ read_text_file(text *filename, int64 seek_offset, int64 bytes_to_read) /* Make sure the input is valid */ pg_verifymbstr(VARDATA(buf), VARSIZE(buf) - VARHDRSZ, false); - /* OK, we can cast it as text safely */ + /* OK, we can cast it to text safely */ return (text *) buf; } |