*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.56 1999/12/10 03:55:46 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.57 2000/01/05 18:23:44 momjian Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
* they always have been, and user aborts are now handled by
* UserAbortTransactionBlock(). Both of them rely on AbortTransaction()
* to do all the real work. The only difference is what state we
- * enter after AbortTransaction() does it's work:
+ * enter after AbortTransaction() does its work:
*
* * AbortTransactionBlock() leaves us in TBLOCK_ABORT and
* * UserAbortTransactionBlock() leaves us in TBLOCK_ENDABORT
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.45 1999/12/16 22:19:39 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.46 2000/01/05 18:23:45 momjian Exp $
*
* NOTES
* these routines moved here from commands/define.c and somewhat cleaned up.
* resultType -- defer this, since it must be determined from
* the pg_procedure catalog
* commutatorObjectId -- if this is NULL, enter ObjectId=0
- * else if this already exists, enter it's ObjectId
+ * else if this already exists, enter its ObjectId
* else if this does not yet exist, and is not
* the same as the main operatorName, then create
* a shell and enter the new ObjectId
/* ----------
* Look at the previous event to the same tuple if
- * any of it's triggers has already been executed.
+ * any of its triggers has already been executed.
* Such a situation would potentially violate RI
* so we abort the transaction.
* ----------
/* ----------
* Look at the previous event to the same tuple if
- * any of it's triggers has already been executed.
+ * any of its triggers has already been executed.
* Such a situation would potentially violate RI
* so we abort the transaction.
* ----------
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.103 1999/12/16 22:19:44 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.104 2000/01/05 18:23:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
/*
* now that we have a tuple, do the appropriate thing with it..
* either return it to the user, add it to a relation someplace,
- * delete it from a relation, or modify some of it's attributes.
+ * delete it from a relation, or modify some of its attributes.
*/
switch (operation)
* contains dispatch functions which call the appropriate "initialize",
* "get a tuple", and "cleanup" routines for the given node type.
* If the node has children, then it will presumably call ExecInitNode,
- * ExecProcNode, or ExecEndNode on it's subnodes and do the appropriate
+ * ExecProcNode, or ExecEndNode on its subnodes and do the appropriate
* processing..
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.16 1999/11/23 20:06:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.17 2000/01/05 18:23:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
/*
* INTERFACE ROUTINES
- * ExecInitNode - initialize a plan node and it's subplans
+ * ExecInitNode - initialize a plan node and its subplans
* ExecProcNode - get a tuple by executing the plan node
- * ExecEndNode - shut down a plan node and it's subplans
+ * ExecEndNode - shut down a plan node and its subplans
*
* NOTES
* This used to be three files. It is now all combined into
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.27 1999/12/10 03:55:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.28 2000/01/05 18:23:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
tupType = ExecGetScanType(&matstate->csstate);
/* ----------------
- * ExecCreatR wants it's second argument to be an object id of
+ * ExecCreatR wants its second argument to be an object id of
* a relation in the range table or a _NONAME_RELATION_ID
* indicating that the relation is not in the range table.
*
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.24 1999/07/17 20:17:01 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.25 2000/01/05 18:23:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
}
/* ----------------
- * pqtest_PQfn converts it's string into a PQArgBlock and
+ * pqtest_PQfn converts its string into a PQArgBlock and
* calls the specified function, which is assumed to return
* an integer value.
* ----------------
}
/* ----------------
- * pqtest looks at the first character of it's test argument
+ * pqtest looks at the first character of its test argument
* and decides which of pqtest_PQexec or pqtest_PQfn to call.
* ----------------
*/
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.27 1999/07/17 20:17:04 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.28 2000/01/05 18:23:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#define NOROOTEXEC "\
\n\"root\" execution of the PostgreSQL backend is not permitted.\n\n\
-The backend must be started under it's own userid to prevent\n\
+The backend must be started under its own userid to prevent\n\
a possible system security compromise. See the INSTALL file for\n\
more information on how to properly start the postmaster.\n\n"
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.63 1999/11/15 02:00:03 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.64 2000/01/05 18:23:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
* If there are instead rules with qualifications,
* the original query is still performed. But all
* the negated rule qualifications of the instead
- * rules are added so it does it's actions only
+ * rules are added so it does its actions only
* in cases where the rule quals of all instead
* rules are false. Think of it as the default
* action in a case. We save this in *qual_products
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.68 1999/11/22 02:03:21 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.69 2000/01/05 18:23:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
if (!bufHdr)
return InvalidBuffer;
- /* if its already in the buffer pool, we're done */
+ /* if it's already in the buffer pool, we're done */
if (found)
{
*
* 1998 Jan Wieck
*
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.20 1999/09/29 21:13:25 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.21 2000/01/05 18:23:50 momjian Exp $
*
* ----------
*/
/* ----------
* If the number is in bounds and due to the present result scale
* no rounding could be necessary, make a copy of the input and
- * modify it's header fields.
+ * modify its header fields.
* ----------
*/
if (num->n_weight < maxweight && scale >= num->n_rscale)
/**********************************************************************
* get_ruledef.c - Function to get a rules definition text
- * out of it's tuple
+ * out of its tuple
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.36 1999/12/24 06:43:34 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.37 2000/01/05 18:23:50 momjian Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
/* ----------
- * get_attribute_name - Get an attribute name by it's
- * relations Oid and it's attnum
+ * get_attribute_name - Get an attribute name by its
+ * relations Oid and its attnum
* ----------
*/
static char *
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.21 1999/08/24 20:11:17 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.22 2000/01/05 18:23:50 momjian Exp $
*
* NOTE:
* This is a new (Feb. 05, 1999) implementation of the allocation set
/*
* If one is found, remove it from the free list, make it again a
- * member of the alloc set and return it's data address.
+ * member of the alloc set and return its data address.
*
*/
if (chunk != NULL)
/* This is a list of all "things" in Pgsql, which can show up after CREATE or
DROP; and there is also a query to get a list of them.
- The %s will be replaced by the text entered so far, the %d by it's length.
+ The %s will be replaced by the text entered so far, the %d by its length.
If you change the order here or insert things, make sure to also adjust the
referencing macros below.
*/
/* ----------
* pg_lzcompress.h -
*
- * $Header: /cvsroot/pgsql/src/include/utils/pg_lzcompress.h,v 1.3 1999/11/25 01:28:07 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/include/utils/pg_lzcompress.h,v 1.4 2000/01/05 18:23:52 momjian Exp $
*
* Definitions for the builtin LZ compressor
* ----------
*
* min_comp_rate Minimum compression rate (0-99%), the output
* must be smaller than the input. If that isn't
- * the case, the compressor will throw away it's
+ * the case, the compressor will throw away its
* output and copy the original, uncompressed data
* to the output buffer.
*
} else {
- /* for SQL_C_CHAR, its probably ok to leave currency symbols in. But
+ /* for SQL_C_CHAR, it's probably ok to leave currency symbols in. But
to convert to numeric types, it is necessary to get rid of those.
*/
if (field_type == PG_TYPE_MONEY)
memcpy(&new_statement[npos], esc, strlen(esc));
npos += strlen(esc);
}
- else { /* its not a valid literal so just copy */
+ else { /* it's not a valid literal so just copy */
*end = '}';
new_statement[npos++] = old_statement[opos];
continue;
continue;
}
- /* If no buffer, and its not null, then what the hell is it?
+ /* If no buffer, and it's not null, then what the hell is it?
Just leave it alone then.
*/
if ( ! buffer) {
}
/* Password is not a required parameter unless authentication asks for it.
- For now, I think its better to just let the application ask over and over until
+ For now, I think it's better to just let the application ask over and over until
a password is entered (the user can always hit Cancel to get out)
*/
if( ci->username[0] == '\0' ||
/* Only show oid if option AND there are other columns AND
- its not being called by SQLStatistics .
- Always show OID if its a system table
+ it's not being called by SQLStatistics .
+ Always show OID if it's a system table
*/
if (result != SQL_ERROR && ! stmt->internal) {
continue;
}
- /* otherwise, its probably an expression */
+ /* otherwise, it's probably an expression */
in_expr = TRUE;
fi[stmt->nfld-1]->expr = TRUE;
fi[stmt->nfld-1]->name[0] = '\0';
continue;
}
- /* its a dot, resolve to table or alias */
+ /* it's a dot, resolve to table or alias */
else if (fi[i]->dot[0]) {
for (k = 0; k < stmt->ntab; k++) {
if ( ! stricmp(ti[k]->name, fi[i]->dot)) {
default:
/* first, check to see if 'type' is in list. If not, look up with query.
- Add oid, name to list. If its already in list, just return.
+ Add oid, name to list. If it's already in list, just return.
*/
if (type == stmt->hdbc->lobj_type) /* hack until permanent type is available */
return SQL_LONGVARBINARY;
mylog(" value = '%s'\n", value);
}
}
- else { /* its a SOCKET result (backend data) */
+ else { /* it's a SOCKET result (backend data) */
if (stmt->currTuple == -1 || ! res || ! res->tupleField) {
stmt->errormsg = "Not positioned on a valid row for GetData.";
stmt->errornumber = STMT_INVALID_CURSOR_STATE_ERROR;
self->status = STMT_EXECUTING;
- // If its a SELECT statement, use a cursor.
+ // If it's a SELECT statement, use a cursor.
// Note that the declare cursor has already been prepended to the statement
// in copy_statement...
if (self->statement_type == STMT_TYPE_SELECT) {
}
else { // not a SELECT statement so don't use a cursor
- mylog(" its NOT a select statement: stmt=%u\n", self);
+ mylog(" it's NOT a select statement: stmt=%u\n", self);
self->result = CC_send_query(conn, self->stmt_with_params, NULL);
// If we are in autocommit, we must send the commit.
* procedural language
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.15 1999/11/22 17:56:40 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.16 2000/01/05 18:23:53 momjian Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
* ----------
*/
if (!HeapTupleIsValid(rec->tup))
- elog(ERROR, "record %s is unassigned yet - don't know it's tuple structure", rec->refname);
+ elog(ERROR, "record %s is unassigned yet - don't know its tuple structure", rec->refname);
/* ----------
* Get the number of the records field to change and the
}
/* ----------
- * This is the field to change. Get it's type
+ * This is the field to change. Get its type
* and cast the value we insert to that type.
* ----------
*/
elog(ERROR, "query \"%s\" didn't return a single value", expr->query);
/* ----------
- * Return the result and it's type
+ * Return the result and its type
* ----------
*/
*rettype = SPI_gettypeid(SPI_tuptable->tupdesc, 1);
bool isnull;
/* ----------
- * Record is simple - just put the tuple and it's descriptor
+ * Record is simple - just put the tuple and its descriptor
* into the record
* ----------
*/
* procedural language (PL)
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.15 1999/11/22 17:56:41 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.16 2000/01/05 18:23:54 momjian Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
/************************************************************
* Convert the result value from the safe interpreter
- * into it's PostgreSQL data format and return it.
+ * into its PostgreSQL data format and return it.
* Again, the call to fmgr() could fire an elog and we
* have to count for the current interpreter level we are
* on. The save_restart from above is still good.
}
/************************************************************
- * Get the prepared plan descriptor by it's key
+ * Get the prepared plan descriptor by its key
************************************************************/
hashent = Tcl_FindHashEntry(pltcl_query_hash, argv[i++]);
if (hashent == NULL)