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

Commitf5a613c

Browse files
committed
>From what I gather, this should be a little cleaner because the
triggeredfunction now returns the right datatype.--Peter Eisentraut Sernanders väg 10:115
1 parentbcaabc5 commitf5a613c

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

‎src/backend/commands/user.c

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: user.c,v 1.42 1999/12/14 00:08:13 momjian Exp $
8+
* $Id: user.c,v 1.43 1999/12/14 00:12:06 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -44,12 +44,20 @@ static void CheckPgUserAclNotNull(void);
4444
*---------------------------------------------------------------------
4545
*/
4646

47-
/* This is the old name. Now uses a lower case name to be able to call this
48-
from SQL. */
49-
#defineUpdatePgPwdFile() update_pg_pwd()
47+
staticvoidUpdatePgPwdFile(void);
5048

51-
void
52-
update_pg_pwd()
49+
/* This is a wrapper, so the below function can be called from a trigger
50+
(used to update pg_pwd from pg_shadow) */
51+
HeapTupleupdate_pg_pwd()
52+
{
53+
UpdatePgPwdFile();
54+
returnNULL;
55+
}
56+
57+
58+
59+
staticvoid
60+
UpdatePgPwdFile(void)
5361
{
5462
char*filename,
5563
*tempname;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp