mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
This patch properly sets the prototype for the on_shmem_exit and
on_proc_exit functions, and adjust all other related code to use the proper types too. by Kurt Roeckx
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/catalog/namespace.c,v 1.59 2003/11/29 19:51:45 pgsql Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/catalog/namespace.c,v 1.60 2003/12/12 18:45:08 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -130,7 +130,7 @@ char *namespace_search_path = NULL;
|
||||
static void recomputeNamespacePath(void);
|
||||
static void InitTempTableNamespace(void);
|
||||
static void RemoveTempRelations(Oid tempNamespaceId);
|
||||
static void RemoveTempRelationsCallback(void);
|
||||
static void RemoveTempRelationsCallback(int code, Datum arg);
|
||||
static void NamespaceCallback(Datum arg, Oid relid);
|
||||
|
||||
/* These don't really need to appear in any header file */
|
||||
@@ -1735,7 +1735,7 @@ RemoveTempRelations(Oid tempNamespaceId)
|
||||
* Callback to remove temp relations at backend exit.
|
||||
*/
|
||||
static void
|
||||
RemoveTempRelationsCallback(void)
|
||||
RemoveTempRelationsCallback(int code, Datum arg)
|
||||
{
|
||||
if (OidIsValid(myTempNamespace)) /* should always be true */
|
||||
{
|
||||
|
Reference in New Issue
Block a user