forked from babelfish-for-postgresql/babelfish_extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextendedproperty.h
More file actions
34 lines (30 loc) · 1.25 KB
/
Copy pathextendedproperty.h
File metadata and controls
34 lines (30 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef EXTENDEDPROPERTY_H
#define EXTENDEDPROPERTY_H
typedef enum ExtendedPropertyType
{
EXTENDED_PROPERTY_DATABASE = 0,
EXTENDED_PROPERTY_SCHEMA,
EXTENDED_PROPERTY_TABLE,
EXTENDED_PROPERTY_VIEW,
EXTENDED_PROPERTY_SEQUENCE,
EXTENDED_PROPERTY_PROCEDURE,
EXTENDED_PROPERTY_FUNCTION,
EXTENDED_PROPERTY_TYPE,
EXTENDED_PROPERTY_TABLE_COLUMN,
EXTENDED_PROPERTY_MAX /* should be last */
} ExtendedPropertyType;
extern const char *const ExtendedPropertyTypeNames[];
extern char *get_value_by_name_from_array(ArrayType *array, const char *name);
extern void delete_extended_property(int16 db_id,
const char *type,
const char *schema_name,
const char *major_name,
const char *minor_name);
extern void update_extended_property(int16 db_id,
const char *type,
const char *schema_name,
const char *major_name,
const char *minor_name,
int attnum,
const char *new_value);
#endif