Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 148c00a

Browse files
author
Neil Conway
committed
Update two comments to refer to use the new list API names.
1 parent b09bfc6 commit 148c00a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/utils/adt/varlena.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/adt/varlena.c,v 1.133 2005/08/26 17:40:36 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/adt/varlena.c,v 1.134 2005/09/16 04:13:17 neilc Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1727,7 +1727,7 @@ textToQualifiedNameList(text *textval)
17271727
* identifiers.
17281728
* Outputs:
17291729
* namelist: filled with a palloc'd list of pointers to identifiers within
1730-
* rawstring. Caller should freeList() this even on error return.
1730+
* rawstring. Caller should list_free() this even on error return.
17311731
*
17321732
* Returns TRUE if okay, FALSE if there is a syntax error in the string.
17331733
*

src/backend/utils/cache/relcache.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/cache/relcache.c,v 1.228 2005/08/26 03:07:48 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/cache/relcache.c,v 1.229 2005/09/16 04:13:18 neilc Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2514,7 +2514,7 @@ CheckConstraintFetch(Relation relation)
25142514
*
25152515
* Since shared cache inval causes the relcache's copy of the list to go away,
25162516
* we return a copy of the list palloc'd in the caller's context. The caller
2517-
* may freeList() the returned list after scanning it. This is necessary
2517+
* may list_free() the returned list after scanning it. This is necessary
25182518
* since the caller will typically be doing syscache lookups on the relevant
25192519
* indexes, and syscache lookup could cause SI messages to be processed!
25202520
*

0 commit comments

Comments
 (0)