Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaedc5ed

Browse files
committed
Fix typos in two comments. Spotted by Brendan Jurd
1 parentffda674 commitaedc5ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/include/fmgr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/include/fmgr.h,v 1.54 2007/09/22 04:41:19 tgl Exp $
14+
* $PostgreSQL: pgsql/src/include/fmgr.h,v 1.55 2007/09/27 21:01:59 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -158,7 +158,7 @@ extern void fmgr_info_copy(FmgrInfo *dstinfo, FmgrInfo *srcinfo,
158158
* The resulting datum can be accessed using VARSIZE_ANY() and VARDATA_ANY()
159159
* (beware of multiple evaluations in those macros!)
160160
*
161-
* WARNING: It is only safe to usePG_DETOAST_DATUM_UNPACKED() and
161+
* WARNING: It is only safe to usepg_detoast_datum_packed() and
162162
* VARDATA_ANY() if you really don't care about the alignment. Either because
163163
* you're working with something like text where the alignment doesn't matter
164164
* or because you're not going to access its constituent parts and just use

‎src/include/postgres.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
1111
* Portions Copyright (c) 1995, Regents of the University of California
1212
*
13-
* $PostgreSQL: pgsql/src/include/postgres.h,v 1.82 2007/07/25 12:22:53 mha Exp $
13+
* $PostgreSQL: pgsql/src/include/postgres.h,v 1.83 2007/09/27 21:01:59 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -237,7 +237,7 @@ typedef struct
237237
* code that specifically wants to work with still-toasted Datums.
238238
*
239239
* WARNING: It is only safe to use VARDATA_ANY() -- typically with
240-
*PG_DETOAST_DATUM_UNPACKED() -- if you really don't care about the alignment.
240+
*PG_DETOAST_DATUM_PACKED() -- if you really don't care about the alignment.
241241
* Either because you're working with something like text where the alignment
242242
* doesn't matter or because you're not going to access its constituent parts
243243
* and just use things like memcpy on it anyways.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp