diff options
| author | Pavan Deolasee | 2014-09-01 13:07:30 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2014-09-01 13:07:30 +0000 |
| commit | 8642a0b6269c9d7212a968441266ebc64e90ded8 (patch) | |
| tree | 1fdea16f55446329c613431af6c4e836a9348afb /src/include/commands | |
| parent | fd159b3983473599768ca36ed8e4b8bfa1ed1969 (diff) | |
The Postgres-XL functionality includes MPP parallelism with
data node to data node communication, more stringent security,
and other performance enhancements. Please see release notes.
Key contributors are:
Andrei Martsinchyk
Nikhil Sontakke
Mason Sharp
Diffstat (limited to 'src/include/commands')
| -rw-r--r-- | src/include/commands/sequence.h | 9 | ||||
| -rw-r--r-- | src/include/commands/tablecmds.h | 4 | ||||
| -rw-r--r-- | src/include/commands/trigger.h | 5 | ||||
| -rw-r--r-- | src/include/commands/vacuum.h | 9 | ||||
| -rw-r--r-- | src/include/commands/variable.h | 9 |
5 files changed, 27 insertions, 9 deletions
diff --git a/src/include/commands/sequence.h b/src/include/commands/sequence.h index 44c1ae0c8b..a917a06a87 100644 --- a/src/include/commands/sequence.h +++ b/src/include/commands/sequence.h @@ -3,6 +3,11 @@ * sequence.h * prototypes for sequence.c. * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * Portions Copyright (c) 2012-2014, TransLattice, Inc. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * @@ -83,6 +88,10 @@ extern void ResetSequence(Oid seq_relid); extern void seq_redo(XLogRecPtr lsn, XLogRecord *rptr); extern void seq_desc(StringInfo buf, uint8 xl_info, char *rec); +#ifdef XCP +#define DEFAULT_CACHEVAL 1 +extern int SequenceRangeVal; +#endif #ifdef PGXC /* * List of actions that registered the callback. diff --git a/src/include/commands/tablecmds.h b/src/include/commands/tablecmds.h index 7d25bf3a31..e262a1d8d3 100644 --- a/src/include/commands/tablecmds.h +++ b/src/include/commands/tablecmds.h @@ -42,11 +42,7 @@ extern void AlterRelationNamespaceInternal(Relation classRel, Oid relOid, extern void CheckTableNotInUse(Relation rel, const char *stmt); -#ifdef PGXC -extern void ExecuteTruncate(TruncateStmt *stmt, const char *sql_statement); -#else extern void ExecuteTruncate(TruncateStmt *stmt); -#endif extern void SetRelationHasSubclass(Oid relationId, bool relhassubclass); diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h index 8e5499e4c5..1f7ba47466 100644 --- a/src/include/commands/trigger.h +++ b/src/include/commands/trigger.h @@ -210,9 +210,4 @@ extern int RI_FKey_trigger_type(Oid tgfoid); extern Datum pg_trigger_depth(PG_FUNCTION_ARGS); -#ifdef PGXC -/* Postgres-XC related functions for triggers */ -extern bool pgxc_check_triggers_shippability(Oid relid, CmdType commandType); -#endif - #endif /* TRIGGER_H */ diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h index 7a50d2fcb3..7d16edaac5 100644 --- a/src/include/commands/vacuum.h +++ b/src/include/commands/vacuum.h @@ -4,6 +4,11 @@ * header file for postgres vacuum cleaner and statistics analyzer * * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * Portions Copyright (c) 2012-2014, TransLattice, Inc. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * @@ -161,6 +166,10 @@ extern void vacuum_set_xid_limits(int freeze_min_age, int freeze_table_age, TransactionId *freezeTableLimit); extern void vac_update_datfrozenxid(void); extern void vacuum_delay_point(void); +#ifdef XCP +extern void vacuum_rel_coordinator(Relation onerel); +TargetEntry *make_relation_tle(Oid reloid, const char *relname, const char *column); +#endif /* in commands/vacuumlazy.c */ extern void lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt, diff --git a/src/include/commands/variable.h b/src/include/commands/variable.h index ebf7757327..14540a7561 100644 --- a/src/include/commands/variable.h +++ b/src/include/commands/variable.h @@ -2,6 +2,11 @@ * variable.h * Routines for handling specialized SET variables. * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * Portions Copyright (c) 2012-2014, TransLattice, Inc. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * @@ -33,6 +38,10 @@ extern bool check_client_encoding(char **newval, void **extra, GucSource source) extern void assign_client_encoding(const char *newval, void *extra); extern bool check_session_authorization(char **newval, void **extra, GucSource source); extern void assign_session_authorization(const char *newval, void *extra); +#ifdef XCP +extern bool check_global_session(char **newval, void **extra, GucSource source); +extern void assign_global_session(const char *newval, void *extra); +#endif extern bool check_role(char **newval, void **extra, GucSource source); extern void assign_role(const char *newval, void *extra); extern const char *show_role(void); |
