diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-09-27 21:01:59 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-09-27 21:01:59 +0000 |
commit | aedc5ed571cc85a6e4031fc227a42c12ac88189f (patch) | |
tree | 5b56dcfd72664a48d4015c559611b27d955c460c | |
parent | ffda674769cd71071317b9cdb7f79c3affecc33d (diff) | |
download | postgresql-aedc5ed571cc85a6e4031fc227a42c12ac88189f.tar.gz postgresql-aedc5ed571cc85a6e4031fc227a42c12ac88189f.zip |
Fix typos in two comments. Spotted by Brendan Jurd
-rw-r--r-- | src/include/fmgr.h | 4 | ||||
-rw-r--r-- | src/include/postgres.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/fmgr.h b/src/include/fmgr.h index e18624efc3e..51e0c02d96b 100644 --- a/src/include/fmgr.h +++ b/src/include/fmgr.h @@ -11,7 +11,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * 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, * The resulting datum can be accessed using VARSIZE_ANY() and VARDATA_ANY() * (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 * 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 diff --git a/src/include/postgres.h b/src/include/postgres.h index 019d2c9f6ed..15249531ea7 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -10,7 +10,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * 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 * code that specifically wants to work with still-toasted Datums. * * 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 * doesn't matter or because you're not going to access its constituent parts * and just use things like memcpy on it anyways. |