mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
ALTER TABLE SET/DROP NOT NULL, from Christopher Kings-Lynne.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: command.h,v 1.36 2002/03/29 19:06:21 tgl Exp $
|
||||
* $Id: command.h,v 1.37 2002/04/01 04:35:39 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -45,6 +45,12 @@ extern void AlterTableAddColumn(Oid myrelid, bool inherits, ColumnDef *colDef);
|
||||
extern void AlterTableAlterColumnDefault(Oid myrelid, bool inh,
|
||||
const char *colName, Node *newDefault);
|
||||
|
||||
extern void AlterTableAlterColumnDropNotNull(Oid myrelid,
|
||||
bool inh, const char *colName);
|
||||
|
||||
extern void AlterTableAlterColumnSetNotNull(Oid myrelid,
|
||||
bool inh, const char *colName);
|
||||
|
||||
extern void AlterTableAlterColumnFlags(Oid myrelid,
|
||||
bool inh, const char *colName,
|
||||
Node *flagValue, const char *flagType);
|
||||
|
||||
Reference in New Issue
Block a user