Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
8a8fbe7e
Commit
8a8fbe7e
authored
Jun 19, 2011
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Capitalization fixes
parent
223d14a9
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
26 additions
and
26 deletions
+26
-26
doc/src/sgml/config.sgml
doc/src/sgml/config.sgml
+1
-1
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+2
-2
doc/src/sgml/plpgsql.sgml
doc/src/sgml/plpgsql.sgml
+1
-1
doc/src/sgml/spi.sgml
doc/src/sgml/spi.sgml
+2
-2
doc/src/sgml/storage.sgml
doc/src/sgml/storage.sgml
+1
-1
src/backend/bootstrap/bootparse.y
src/backend/bootstrap/bootparse.y
+1
-1
src/backend/port/ipc_test.c
src/backend/port/ipc_test.c
+1
-1
src/backend/port/win32/signal.c
src/backend/port/win32/signal.c
+2
-2
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/bufmgr.c
+3
-3
src/backend/storage/ipc/sinvaladt.c
src/backend/storage/ipc/sinvaladt.c
+1
-1
src/backend/storage/lmgr/proc.c
src/backend/storage/lmgr/proc.c
+1
-1
src/backend/storage/smgr/smgrtype.c
src/backend/storage/smgr/smgrtype.c
+1
-1
src/backend/utils/cache/inval.c
src/backend/utils/cache/inval.c
+1
-1
src/backend/utils/cache/syscache.c
src/backend/utils/cache/syscache.c
+4
-4
src/backend/utils/init/postinit.c
src/backend/utils/init/postinit.c
+1
-1
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/execute.c
+1
-1
src/test/examples/testlibpq2.c
src/test/examples/testlibpq2.c
+1
-1
src/test/regress/pg_regress.c
src/test/regress/pg_regress.c
+1
-1
No files found.
doc/src/sgml/config.sgml
View file @
8a8fbe7e
...
...
@@ -259,7 +259,7 @@ SET ENABLE_SEQSCAN TO OFF;
</indexterm>
<listitem>
<para>
Specifies the name of an additional process-
id
(PID) file that the
Specifies the name of an additional process-
ID
(PID) file that the
server should create for use by server administration programs.
This parameter can only be set at server start.
</para>
...
...
doc/src/sgml/libpq.sgml
View file @
8a8fbe7e
...
...
@@ -6116,7 +6116,7 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
break;
}
/* unknown event
id
, just return TRUE. */
/* unknown event
ID
, just return TRUE. */
default:
break;
}
...
...
@@ -7553,7 +7553,7 @@ main(int argc, char **argv)
while ((notify = PQnotifies(conn)) != NULL)
{
fprintf(stderr,
"ASYNC NOTIFY of '%s' received from backend
pid
%d\n",
"ASYNC NOTIFY of '%s' received from backend
PID
%d\n",
notify->relname, notify->be_pid);
PQfreemem(notify);
nnotifies++;
...
...
doc/src/sgml/plpgsql.sgml
View file @
8a8fbe7e
...
...
@@ -3174,7 +3174,7 @@ RAISE NOTICE 'Calling cs_create_job(%)', v_job_id;
and hint:
<programlisting>
RAISE EXCEPTION 'Nonexistent ID --> %', user_id
USING HINT = 'Please check your user
id
';
USING HINT = 'Please check your user
ID
';
</programlisting>
</para>
...
...
doc/src/sgml/spi.sgml
View file @
8a8fbe7e
...
...
@@ -1231,7 +1231,7 @@ Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argI
<para>
<function>SPI_getargtypeid</function> returns the OID representing the type
id
for the <parameter>argIndex</parameter>'th argument of a plan prepared by
for the <parameter>argIndex</parameter>'th argument of a plan prepared by
<function>SPI_prepare</function>. First argument is at index zero.
</para>
</refsect1>
...
...
@@ -1263,7 +1263,7 @@ Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argI
<refsect1>
<title>Return Value</title>
<para>
The type
id
of the argument at the given index.
The type
OID
of the argument at the given index.
If the <parameter>plan</parameter> is <symbol>NULL</symbol> or invalid,
or <parameter>argIndex</parameter> is less than 0 or
not less than the number of arguments declared for the
...
...
doc/src/sgml/storage.sgml
View file @
8a8fbe7e
...
...
@@ -121,7 +121,7 @@ last started with</entry>
<row>
<entry><filename>postmaster.pid</></entry>
<entry>A lock file recording the current postmaster process
id
(PID),
<entry>A lock file recording the current postmaster process
ID
(PID),
cluster data directory path,
postmaster start timestamp,
port number,
...
...
src/backend/bootstrap/bootparse.y
View file @
8a8fbe7e
...
...
@@ -248,7 +248,7 @@ Boot_CreateStmt:
(Datum) 0,
false,
true);
elog(DEBUG4, "relation created with
oid
%u", id);
elog(DEBUG4, "relation created with
OID
%u", id);
}
do_end();
}
...
...
src/backend/port/ipc_test.c
View file @
8a8fbe7e
...
...
@@ -303,7 +303,7 @@ main(int argc, char **argv)
proc_exit
(
1
);
}
printf
(
"forked child
pid
%d OK
\n
"
,
cpid
);
printf
(
"forked child
PID
%d OK
\n
"
,
cpid
);
if
(
storage
->
flag
!=
1234
)
printf
(
"Wrong value found in shared memory!
\n
"
);
...
...
src/backend/port/win32/signal.c
View file @
8a8fbe7e
...
...
@@ -171,7 +171,7 @@ pqsignal(int signum, pqsigfunc handler)
return
prevfunc
;
}
/* Create the signal listener pipe for specified
pid
*/
/* Create the signal listener pipe for specified
PID
*/
HANDLE
pgwin32_create_signal_listener
(
pid_t
pid
)
{
...
...
@@ -186,7 +186,7 @@ pgwin32_create_signal_listener(pid_t pid)
if
(
pipe
==
INVALID_HANDLE_VALUE
)
ereport
(
ERROR
,
(
errmsg
(
"could not create signal listener pipe for
pid
%d: error code %d"
,
(
errmsg
(
"could not create signal listener pipe for
PID
%d: error code %d"
,
(
int
)
pid
,
(
int
)
GetLastError
())));
return
pipe
;
...
...
src/backend/storage/buffer/bufmgr.c
View file @
8a8fbe7e
...
...
@@ -952,7 +952,7 @@ MarkBufferDirty(Buffer buffer)
volatile
BufferDesc
*
bufHdr
;
if
(
!
BufferIsValid
(
buffer
))
elog
(
ERROR
,
"bad buffer
id
: %d"
,
buffer
);
elog
(
ERROR
,
"bad buffer
ID
: %d"
,
buffer
);
if
(
BufferIsLocal
(
buffer
))
{
...
...
@@ -2198,7 +2198,7 @@ ReleaseBuffer(Buffer buffer)
volatile
BufferDesc
*
bufHdr
;
if
(
!
BufferIsValid
(
buffer
))
elog
(
ERROR
,
"bad buffer
id
: %d"
,
buffer
);
elog
(
ERROR
,
"bad buffer
ID
: %d"
,
buffer
);
ResourceOwnerForgetBuffer
(
CurrentResourceOwner
,
buffer
);
...
...
@@ -2270,7 +2270,7 @@ SetBufferCommitInfoNeedsSave(Buffer buffer)
volatile
BufferDesc
*
bufHdr
;
if
(
!
BufferIsValid
(
buffer
))
elog
(
ERROR
,
"bad buffer
id
: %d"
,
buffer
);
elog
(
ERROR
,
"bad buffer
ID
: %d"
,
buffer
);
if
(
BufferIsLocal
(
buffer
))
{
...
...
src/backend/storage/ipc/sinvaladt.c
View file @
8a8fbe7e
...
...
@@ -323,7 +323,7 @@ SharedInvalBackendInit(bool sendOnly)
/* register exit routine to mark my entry inactive at exit */
on_shmem_exit
(
CleanupInvalidationState
,
PointerGetDatum
(
segP
));
elog
(
DEBUG4
,
"my backend
id
is %d"
,
MyBackendId
);
elog
(
DEBUG4
,
"my backend
ID
is %d"
,
MyBackendId
);
}
/*
...
...
src/backend/storage/lmgr/proc.c
View file @
8a8fbe7e
...
...
@@ -996,7 +996,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
{
int
pid
=
autovac
->
pid
;
elog
(
DEBUG2
,
"sending cancel to blocking autovacuum
pid =
%d"
,
elog
(
DEBUG2
,
"sending cancel to blocking autovacuum
PID
%d"
,
pid
);
/* don't hold the lock across the kill() syscall */
...
...
src/backend/storage/smgr/smgrtype.c
View file @
8a8fbe7e
...
...
@@ -54,7 +54,7 @@ smgrout(PG_FUNCTION_ARGS)
char
*
s
;
if
(
i
>=
NStorageManagers
||
i
<
0
)
elog
(
ERROR
,
"invalid storage manager
id
: %d"
,
i
);
elog
(
ERROR
,
"invalid storage manager
ID
: %d"
,
i
);
s
=
pstrdup
(
StorageManager
[
i
].
smgr_name
);
PG_RETURN_CSTRING
(
s
);
...
...
src/backend/utils/cache/inval.c
View file @
8a8fbe7e
...
...
@@ -529,7 +529,7 @@ LocalExecuteInvalidationMessage(SharedInvalidationMessage *msg)
RelationMapInvalidate
(
false
);
}
else
elog
(
FATAL
,
"unrecognized SI message
id
: %d"
,
msg
->
id
);
elog
(
FATAL
,
"unrecognized SI message
ID
: %d"
,
msg
->
id
);
}
/*
...
...
src/backend/utils/cache/syscache.c
View file @
8a8fbe7e
...
...
@@ -14,7 +14,7 @@
* These routines allow the parser/planner/executor to perform
* rapid lookups on the contents of the system catalogs.
*
* see utils/syscache.h for a list of the cache
id'
s
* see utils/syscache.h for a list of the cache
ID
s
*
*-------------------------------------------------------------------------
*/
...
...
@@ -842,7 +842,7 @@ SearchSysCache(int cacheId,
{
if
(
cacheId
<
0
||
cacheId
>=
SysCacheSize
||
!
PointerIsValid
(
SysCache
[
cacheId
]))
elog
(
ERROR
,
"invalid cache
id
: %d"
,
cacheId
);
elog
(
ERROR
,
"invalid cache
ID
: %d"
,
cacheId
);
return
SearchCatCache
(
SysCache
[
cacheId
],
key1
,
key2
,
key3
,
key4
);
}
...
...
@@ -1026,7 +1026,7 @@ SysCacheGetAttr(int cacheId, HeapTuple tup,
*/
if
(
cacheId
<
0
||
cacheId
>=
SysCacheSize
||
!
PointerIsValid
(
SysCache
[
cacheId
]))
elog
(
ERROR
,
"invalid cache
id
: %d"
,
cacheId
);
elog
(
ERROR
,
"invalid cache
ID
: %d"
,
cacheId
);
if
(
!
PointerIsValid
(
SysCache
[
cacheId
]
->
cc_tupdesc
))
{
InitCatCachePhase2
(
SysCache
[
cacheId
],
false
);
...
...
@@ -1047,7 +1047,7 @@ SearchSysCacheList(int cacheId, int nkeys,
{
if
(
cacheId
<
0
||
cacheId
>=
SysCacheSize
||
!
PointerIsValid
(
SysCache
[
cacheId
]))
elog
(
ERROR
,
"invalid cache
id
: %d"
,
cacheId
);
elog
(
ERROR
,
"invalid cache
ID
: %d"
,
cacheId
);
return
SearchCatCacheList
(
SysCache
[
cacheId
],
nkeys
,
key1
,
key2
,
key3
,
key4
);
...
...
src/backend/utils/init/postinit.c
View file @
8a8fbe7e
...
...
@@ -489,7 +489,7 @@ InitPostgres(const char *in_dbname, Oid dboid, const char *username,
SharedInvalBackendInit
(
false
);
if
(
MyBackendId
>
MaxBackends
||
MyBackendId
<=
0
)
elog
(
FATAL
,
"bad backend
id
: %d"
,
MyBackendId
);
elog
(
FATAL
,
"bad backend
ID
: %d"
,
MyBackendId
);
/* Now that we have a BackendId, we can participate in ProcSignal */
ProcSignalInit
(
MyBackendId
);
...
...
src/interfaces/ecpg/ecpglib/execute.c
View file @
8a8fbe7e
...
...
@@ -1698,7 +1698,7 @@ ecpg_execute(struct statement * stmt)
notify
=
PQnotifies
(
stmt
->
connection
->
connection
);
if
(
notify
)
{
ecpg_log
(
"ecpg_execute on line %d: asynchronous notification of
\"
%s
\"
from backend
pid
%d received
\n
"
,
ecpg_log
(
"ecpg_execute on line %d: asynchronous notification of
\"
%s
\"
from backend
PID
%d received
\n
"
,
stmt
->
lineno
,
notify
->
relname
,
notify
->
be_pid
);
PQfreemem
(
notify
);
}
...
...
src/test/examples/testlibpq2.c
View file @
8a8fbe7e
...
...
@@ -121,7 +121,7 @@ main(int argc, char **argv)
while
((
notify
=
PQnotifies
(
conn
))
!=
NULL
)
{
fprintf
(
stderr
,
"ASYNC NOTIFY of '%s' received from backend
pid
%d
\n
"
,
"ASYNC NOTIFY of '%s' received from backend
PID
%d
\n
"
,
notify
->
relname
,
notify
->
be_pid
);
PQfreemem
(
notify
);
nnotifies
++
;
...
...
src/test/regress/pg_regress.c
View file @
8a8fbe7e
...
...
@@ -2310,7 +2310,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
#else
#define ULONGPID(x) (unsigned long) (x)
#endif
printf
(
_
(
"running on port %d with
pid
%lu
\n
"
),
printf
(
_
(
"running on port %d with
PID
%lu
\n
"
),
port
,
ULONGPID
(
postmaster_pid
));
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment