mirror of
https://github.com/postgres/postgres.git
synced 2026-03-12 13:44:02 -04:00
Make sure that function declarations use names that exactly match the corresponding names from function definitions in optimizer, parser, utility, libpq, and "commands" code, as well as in remaining library code. Do the same for all code related to frontend programs (with the exception of pg_dump/pg_dumpall related code). Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Later commits will handle ecpg and pg_dump/pg_dumpall. Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* alter.h
|
|
* prototypes for commands/alter.c
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/commands/alter.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef ALTER_H
|
|
#define ALTER_H
|
|
|
|
#include "catalog/dependency.h"
|
|
#include "catalog/objectaddress.h"
|
|
#include "nodes/parsenodes.h"
|
|
#include "utils/relcache.h"
|
|
|
|
extern ObjectAddress ExecRenameStmt(RenameStmt *stmt);
|
|
|
|
extern ObjectAddress ExecAlterObjectDependsStmt(AlterObjectDependsStmt *stmt,
|
|
ObjectAddress *refAddress);
|
|
extern ObjectAddress ExecAlterObjectSchemaStmt(AlterObjectSchemaStmt *stmt,
|
|
ObjectAddress *oldSchemaAddr);
|
|
extern Oid AlterObjectNamespace_oid(Oid classId, Oid objid, Oid nspOid,
|
|
ObjectAddresses *objsMoved);
|
|
|
|
extern ObjectAddress ExecAlterOwnerStmt(AlterOwnerStmt *stmt);
|
|
extern void AlterObjectOwner_internal(Relation rel, Oid objectId,
|
|
Oid new_ownerId);
|
|
|
|
#endif /* ALTER_H */
|