Content-Length: 278127 | pFad | http://github.com/postgrespro/postgres/commit/d5c0495cd4b9c78fdfc00961f4ae14c39f877f59
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321eed5 commit d5c0495Copy full SHA for d5c0495
src/backend/commands/operatorcmds.c
@@ -38,6 +38,7 @@
38
#include "access/htup_details.h"
39
#include "catalog/dependency.h"
40
#include "catalog/indexing.h"
41
+#include "catalog/objectaccess.h"
42
#include "catalog/pg_operator.h"
43
#include "catalog/pg_type.h"
44
#include "commands/alter.h"
@@ -499,7 +500,11 @@ AlterOperator(AlterOperatorStmt *stmt)
499
500
simple_heap_update(catalog, &tup->t_self, tup);
501
CatalogUpdateIndexes(catalog, tup);
502
- heap_close(catalog, RowExclusiveLock);
503
+ InvokeObjectPostAlterHook(OperatorRelationId, oprId, 0);
504
+
505
+ ObjectAddressSet(address, OperatorRelationId, oprId);
506
507
+ heap_close(catalog, NoLock);
508
509
return address;
510
}
Fetched URL: http://github.com/postgrespro/postgres/commit/d5c0495cd4b9c78fdfc00961f4ae14c39f877f59
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments