Skip to content

Commit 549a8ba

Browse files
committed
> From what I gather, this should be a little cleaner because the
triggered > function now returns the right datatype. Oops, I got crossed up with Jan's improvements. Ignore this. -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala
1 parent f5a613c commit 549a8ba

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

doc/TODO

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TODO list for PostgreSQL
22
========================
3-
Last updated: Fri Dec 10 19:30:50 EST 1999
3+
Last updated: Mon Dec 13 19:13:04 EST 1999
44

55
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
66

@@ -127,7 +127,7 @@ TYPES
127127
* -Add index on NUMERIC/DECIMAL type(Jan)
128128
* Make Absolutetime/Relativetime int4 because time_t can be int8 on some ports
129129
* Functions returning sets don't really work right[function]
130-
* Add max() for oid type
130+
* Make type equivalency apply to aggregates
131131

132132
VIEWS
133133

@@ -168,7 +168,7 @@ CLIENTS
168168

169169
* Make NULL's come out at the beginning or end depending on the
170170
ORDER BY direction
171-
* Allow flag to control COPY input/output of NULLs
171+
* -Allow flag to control COPY input/output of NULLs
172172
* Update reltuples from COPY command
173173
* -Allow psql \copy to allow delimiters
174174
* -Add a function to return the last inserted oid, for use in psql scripts
@@ -285,7 +285,7 @@ SOURCE CODE
285285
* -Make configure --enable-debug add -g on compile line
286286
* Does Mariposa source contain any other bug fixes?
287287
* Remove SET KSQO option if OR processing is improved(Tom)
288-
* rename 'createuser' to 'pg_createuser', and add 'pg_' to other commands
288+
289289
---------------------------------------------------------------------------
290290

291291

src/backend/commands/user.c

Lines changed: 6 additions & 14 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.43 1999/12/14 00:12:06 momjian Exp $
8+
* $Id: user.c,v 1.44 1999/12/14 00:17:33 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -44,20 +44,12 @@ static void CheckPgUserAclNotNull(void);
4444
*---------------------------------------------------------------------
4545
*/
4646

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

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-
HeapTuple update_pg_pwd()
52-
{
53-
UpdatePgPwdFile();
54-
return NULL;
55-
}
56-
57-
58-
59-
static void
60-
UpdatePgPwdFile(void)
51+
void
52+
update_pg_pwd()
6153
{
6254
char *filename,
6355
*tempname;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy