head     1.13;
branch   ;
access   ;
symbols  Version_2_1:1.10 Version_2:1.8 C_Demo_1:1.7;
locks    ; strict;
comment  @ * @;


1.13
date     91.11.08.15.43.58;  author kemnitz;  state Exp;
branches ;
next     1.12;

1.12
date     91.11.06.01.24.13;  author mer;  state Exp;
branches ;
next     1.11;

1.11
date     91.05.07.13.57.50;  author kemnitz;  state Exp;
branches ;
next     1.10;

1.10
date     90.08.18.00.40.08;  author cimarron;  state Exp;
branches ;
next     1.9;

1.9
date     90.08.17.08.51.18;  author cimarron;  state Exp;
branches ;
next     1.8;

1.8
date     90.03.31.19.00.06;  author cimarron;  state Version_2;
branches ;
next     1.7;

1.7
date     89.09.05.17.13.40;  author mao;  state C_Demo_1;
branches ;
next     1.6;

1.6
date     89.08.25.15.04.44;  author hirohama;  state Exp;
branches ;
next     1.5;

1.5
date     89.06.19.17.13.26;  author hirohama;  state Exp;
branches ;
next     1.4;

1.4
date     89.06.17.01.52.33;  author hirohama;  state Exp;
branches ;
next     1.3;

1.3
date     89.04.12.19.57.08;  author dillon;  state Exp;
branches ;
next     1.2;

1.2
date     89.03.22.17.35.13;  author muir;  state Stab;
branches ;
next     1.1;

1.1
date     89.01.17.05.55.07;  author cimarron;  state Exp;
branches ;
next     ;


desc
@@


1.13
log
@fixed prototypes.
@
text
@/*
 * xcxt.h --
 *	POSTGRES transaction context definitions.
 *
 *  NOTE: THIS FILE MUST DIE - GREG
 *
 * Identification:
 *	$Header: RCS/xcxt.h,v 1.12 91/11/06 01:24:13 mer Exp Locker: kemnitz $
 */

#ifndef	XCxtIncluded	/* Include this file only once */
#define XCxtIncluded	1
#endif	/* !defined(XCxtIncluded) */
@


1.12
log
@prototype syntax error fix
@
text
@d5 2
d8 1
a8 1
 *	$Header: /users/mer/postgres/src/lib/H/access/RCS/xcxt.h,v 1.11 1991/05/07 13:57:50 kemnitz Exp mer $
a12 96

/*
 * InitializeTransactionSystem --
 *	Initializes backend context for transaction processing.
 */
extern
void
InitializeTransactionSystem ARGS((
	void
));

/*
 * OverrideTransactionSystem --
 *	Enables(false) or disables(true) strict transaction processing.
 *
 * Note:
 *	Assumes transaction context is initialized.
 *	The previous transaction context is lost.
 */
extern
void
OverrideTransactionSystem ARGS((
	bool	override
));

/*
 * StartTransactionBlock --
 *	Sets backend context for a transaction block.
 *
 * Note:
 *	Assumes transaction context is initialized.
 *	Assumes no transaction block is in progress.
 * XXX	StartTransactionCommand() must be called before the first command.
 */
extern
void
StartTransactionBlock ARGS ((
	void
));

/*
 * StartTransactionCommand --
 *	Sets backend context for the next transaction command.
 *	Initialization for either the next command in a transaction block
 *	or initialization for a command outside a block is performed.
 *
 * Side effects:
 *	Switches to heap memory context of "blank portal."
 *
 * Exceptions:
 *	BadState if current memory context is not top memory context.
 */
extern void StartTransactionCommand ARGS((void));

/*
 * CommitTransactionCommand --
 *	Commits the current transaction command.
 *
 * Note:
 *	Assumes transaction context is initialized.
 *	Assumes transaction is started but is not yet aborted or committed.
 */
extern
void
CommitTransactionCommand ARGS ((
	void
));

/*
 * CommitTransactionBlock --
 *	Commits the current transaction block.
 *
 * Note:
 *	Assumes transaction context is initialized.
 *	Assumes transaction is started but is not yet aborted or committed.
 */
extern
void
CommitTransactionBlock ARGS ((
	void
));

/*
 * AbortCurrentTransaction --
 *	Aborts the current transaction.
 *
 * Note:
 *	Assumes transaction context is initialized.
 *	Assumes transaction is started but is not yet aborted or committed.
 */
extern
void
AbortCurrentTransaction ARGS ((
	void
));

@


1.11
log
@got rid of superfluous includes.
@
text
@d6 1
a6 1
 *	$Header: RCS/xcxt.h,v 1.10 90/08/18 00:40:08 cimarron Exp Locker: kemnitz $
d33 1
a33 1
	bool	override;
@


1.10
log
@eliminated less significant .h files
@
text
@d6 1
a6 1
 *	$Header: RCS/xcxt.h,v 1.9 90/08/17 08:51:18 cimarron Exp Locker: cimarron $
a10 3

#include "tmp/postgres.h"
#include "access/xact.h"	/* XXX for now */
@


1.9
log
@added pathnames to #include statements
@
text
@d6 1
a6 1
 *	$Header: RCS/xcxt.h,v 1.8 90/03/31 19:00:06 cimarron Version_2 Locker: cimarron $
d12 1
a13 1
#include "tmp/xid.h"
@


1.8
log
@*** empty log message ***
@
text
@d6 1
a6 1
 *	$Header: RCS/xcxt.h,v 1.7 89/09/05 17:13:40 mao C_Demo_1 $
d12 2
a13 2
#include "xact.h"	/* XXX for now */
#include "xid.h"
@


1.7
log
@Working version of C-only demo
@
text
@d6 1
a6 1
 *	$Header: RCS/xcxt.h,v 1.6 89/08/25 15:04:44 hirohama Exp $
d12 1
a12 6
#include "xstate.h"	/* XXX for now */

#ifndef C_H
#include "c.h"
#endif

@


1.6
log
@StartTransactionCommand now takes no argument (formerly a portal argument)
@
text
@d6 1
a6 1
 *	$Header: RCS/xcxt.h,v 1.5 89/06/19 17:13:26 hirohama Exp Locker: hirohama $
@


1.5
log
@StartTransactionCommand now takes a Portal argument
@
text
@d6 1
a6 1
 *	$Header: xcxt.h,v 1.4 89/06/17 01:52:33 hirohama Locked $
a17 2
#include "portal.h"

d65 5
a69 2
 * Note:
 *	Assumes transaction context is initialized.
d71 1
a71 5
extern
void
StartTransactionCommand ARGS ((
	Portal	portal
));
@


1.4
log
@*** empty log message ***
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/hirohama/postgres/src/lib/H/RCS/xcxt.h,v 1.3 89/04/12 19:57:08 dillon Exp $
d18 2
d73 1
a73 1
	void
@


1.3
log
@c.h
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/dillon/ptree/src/lib/H/RCS/xcxt.h,v 1.2 89/03/22 17:35:13 muir Stab $
a11 1
#include "context.h"	/* XXX for now */
@


1.2
log
@copyright removal
@
text
@d6 1
a6 1
 *	$Header: /usr6/postgres/muir/postgres/src/lib/H/RCS/xcxt.h,v 1.1 89/01/17 05:55:07 cimarron Exp $
d15 1
d17 1
@


1.1
log
@Initial revision
@
text
@a0 27

; /*
; * 
; * POSTGRES Data Base Management System
; * 
; * Copyright (c) 1988 Regents of the University of California
; * 
; * Permission to use, copy, modify, and distribute this software and its
; * documentation for educational, research, and non-profit purposes and
; * without fee is hereby granted, provided that the above copyright
; * notice appear in all copies and that both that copyright notice and
; * this permission notice appear in supporting documentation, and that
; * the name of the University of California not be used in advertising
; * or publicity pertaining to distribution of the software without
; * specific, written prior permission.  Permission to incorporate this
; * software into commercial products can be obtained from the Campus
; * Software Office, 295 Evans Hall, University of California, Berkeley,
; * Ca., 94720 provided only that the the requestor give the University
; * of California a free licence to any derived software for educational
; * and research purposes.  The University of California makes no
; * representations about the suitability of this software for any
; * purpose.  It is provided "as is" without express or implied warranty.
; * 
; */



d6 1
a6 1
 *	$Header: xcxt.h,v 1.1 88/11/11 16:37:34 postgres Exp $
@
