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

Commit5f97dc3

Browse files
committed
chkpass_rout returns text so change PG_RETURN_CSTRING to PG_RETURN_TEXT_P.
This is currently a cosmetic difference but I make the change now in casethe macros diverge one day.
1 parent0308d66 commit5f97dc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/chkpass/chkpass.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* darcy@druid.net
55
* http://www.druid.net/darcy/
66
*
7-
* $Id: chkpass.c,v 1.7 2001/12/1918:49:24 petere Exp $
7+
* $Id: chkpass.c,v 1.8 2002/08/29 12:18:20 darcy Exp $
88
* best viewed with tabs set to 4
99
*/
1010

@@ -150,7 +150,7 @@ chkpass_rout(PG_FUNCTION_ARGS)
150150
memcpy(result->vl_dat,password->password,strlen(password->password));
151151
}
152152

153-
PG_RETURN_CSTRING(result);
153+
PG_RETURN_TEXT_P(result);
154154
}
155155

156156

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp