mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Add support for renaming domain constraints
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#ifndef TYPECMDS_H
|
||||
#define TYPECMDS_H
|
||||
|
||||
#include "access/htup.h"
|
||||
#include "nodes/parsenodes.h"
|
||||
|
||||
|
||||
@@ -35,6 +36,8 @@ extern void AlterDomainValidateConstraint(List *names, char *constrName);
|
||||
extern void AlterDomainDropConstraint(List *names, const char *constrName,
|
||||
DropBehavior behavior, bool missing_ok);
|
||||
|
||||
extern void checkDomainOwner(HeapTuple tup);
|
||||
|
||||
extern List *GetDomainConstraints(Oid typeOid);
|
||||
|
||||
extern void RenameType(RenameStmt *stmt);
|
||||
|
||||
Reference in New Issue
Block a user