mirror of
https://github.com/postgres/postgres.git
synced 2025-05-28 05:21:27 +03:00
Move conversion dependency patch to the proper branch, out of 8.1.X,
into HEAD.
This commit is contained in:
parent
7bec90969f
commit
e82435a96c
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/catalog/pg_conversion.c,v 1.28.2.1 2006/05/30 13:31:01 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/catalog/pg_conversion.c,v 1.28.2.2 2006/05/30 13:36:40 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -18,7 +18,6 @@
|
|||||||
#include "catalog/dependency.h"
|
#include "catalog/dependency.h"
|
||||||
#include "catalog/indexing.h"
|
#include "catalog/indexing.h"
|
||||||
#include "catalog/pg_conversion.h"
|
#include "catalog/pg_conversion.h"
|
||||||
#include "catalog/pg_namespace.h"
|
|
||||||
#include "catalog/pg_proc.h"
|
#include "catalog/pg_proc.h"
|
||||||
#include "catalog/namespace.h"
|
#include "catalog/namespace.h"
|
||||||
#include "utils/builtins.h"
|
#include "utils/builtins.h"
|
||||||
@ -125,12 +124,6 @@ ConversionCreate(const char *conname, Oid connamespace,
|
|||||||
recordDependencyOnOwner(ConversionRelationId, HeapTupleGetOid(tup),
|
recordDependencyOnOwner(ConversionRelationId, HeapTupleGetOid(tup),
|
||||||
conowner);
|
conowner);
|
||||||
|
|
||||||
/* create dependency on namespace */
|
|
||||||
myself.classId = ConversionRelationId;
|
|
||||||
referenced.classId = NamespaceRelationId;
|
|
||||||
referenced.objectId = connamespace;
|
|
||||||
recordDependencyOn(&myself, &referenced, DEPENDENCY_NORMAL);
|
|
||||||
|
|
||||||
heap_freetuple(tup);
|
heap_freetuple(tup);
|
||||||
heap_close(rel, RowExclusiveLock);
|
heap_close(rel, RowExclusiveLock);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user