</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>
break;
}
- /* unknown event id, just return TRUE. */
+ /* unknown event ID, just return TRUE. */
default:
break;
}
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++;
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>
<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>
<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
<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,
(Datum) 0,
false,
true);
- elog(DEBUG4, "relation created with oid %u", id);
+ elog(DEBUG4, "relation created with OID %u", id);
}
do_end();
}
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");
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)
{
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;
volatile BufferDesc *bufHdr;
if (!BufferIsValid(buffer))
- elog(ERROR, "bad buffer id: %d", buffer);
+ elog(ERROR, "bad buffer ID: %d", buffer);
if (BufferIsLocal(buffer))
{
volatile BufferDesc *bufHdr;
if (!BufferIsValid(buffer))
- elog(ERROR, "bad buffer id: %d", buffer);
+ elog(ERROR, "bad buffer ID: %d", buffer);
ResourceOwnerForgetBuffer(CurrentResourceOwner, buffer);
volatile BufferDesc *bufHdr;
if (!BufferIsValid(buffer))
- elog(ERROR, "bad buffer id: %d", buffer);
+ elog(ERROR, "bad buffer ID: %d", buffer);
if (BufferIsLocal(buffer))
{
/* 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);
}
/*
{
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 */
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);
RelationMapInvalidate(false);
}
else
- elog(FATAL, "unrecognized SI message id: %d", msg->id);
+ elog(FATAL, "unrecognized SI message ID: %d", msg->id);
}
/*
* 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 IDs
*
*-------------------------------------------------------------------------
*/
{
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);
}
*/
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);
{
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);
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);
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);
}
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++;
#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