Skip to content
Snippets Groups Projects
Commit aedc5ed5 authored by Tom Lane's avatar Tom Lane
Browse files

Fix typos in two comments. Spotted by Brendan Jurd

parent ffda6747
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/fmgr.h,v 1.54 2007/09/22 04:41:19 tgl Exp $ * $PostgreSQL: pgsql/src/include/fmgr.h,v 1.55 2007/09/27 21:01:59 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -158,7 +158,7 @@ extern void fmgr_info_copy(FmgrInfo *dstinfo, FmgrInfo *srcinfo, ...@@ -158,7 +158,7 @@ extern void fmgr_info_copy(FmgrInfo *dstinfo, FmgrInfo *srcinfo,
* The resulting datum can be accessed using VARSIZE_ANY() and VARDATA_ANY() * The resulting datum can be accessed using VARSIZE_ANY() and VARDATA_ANY()
* (beware of multiple evaluations in those macros!) * (beware of multiple evaluations in those macros!)
* *
* WARNING: It is only safe to use PG_DETOAST_DATUM_UNPACKED() and * WARNING: It is only safe to use pg_detoast_datum_packed() and
* VARDATA_ANY() if you really don't care about the alignment. Either because * VARDATA_ANY() if you really don't care about the alignment. Either because
* you're working with something like text where the alignment doesn't matter * you're working with something like text where the alignment doesn't matter
* or because you're not going to access its constituent parts and just use * or because you're not going to access its constituent parts and just use
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1995, Regents of the University of California * Portions Copyright (c) 1995, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/postgres.h,v 1.82 2007/07/25 12:22:53 mha Exp $ * $PostgreSQL: pgsql/src/include/postgres.h,v 1.83 2007/09/27 21:01:59 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -237,7 +237,7 @@ typedef struct ...@@ -237,7 +237,7 @@ typedef struct
* code that specifically wants to work with still-toasted Datums. * code that specifically wants to work with still-toasted Datums.
* *
* WARNING: It is only safe to use VARDATA_ANY() -- typically with * WARNING: It is only safe to use VARDATA_ANY() -- typically with
* PG_DETOAST_DATUM_UNPACKED() -- if you really don't care about the alignment. * PG_DETOAST_DATUM_PACKED() -- if you really don't care about the alignment.
* Either because you're working with something like text where the alignment * Either because you're working with something like text where the alignment
* doesn't matter or because you're not going to access its constituent parts * doesn't matter or because you're not going to access its constituent parts
* and just use things like memcpy on it anyways. * and just use things like memcpy on it anyways.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment