mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
This patch fixes a bunch of spelling mistakes in comments throughout the
PostgreSQL source code. Neil Conway
This commit is contained in:
@@ -43,7 +43,7 @@ struct sqlca
|
||||
/* stored into a host variable. */
|
||||
|
||||
/*
|
||||
* 2: if 'W' a (hopefully) non-fatal notice occured
|
||||
* 2: if 'W' a (hopefully) non-fatal notice occurred
|
||||
*/ /* 3: empty */
|
||||
/* 4: empty */
|
||||
/* 5: empty */
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.60 2003/02/14 13:17:13 meskes Exp $ */
|
||||
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.61 2003/03/10 22:28:21 tgl Exp $ */
|
||||
|
||||
/* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
|
||||
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
|
||||
/* Placed under the same license as PostgresSQL */
|
||||
/* Placed under the same license as PostgreSQL */
|
||||
|
||||
#include "postgres_fe.h"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.73 2003/01/29 01:18:21 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.74 2003/03/10 22:28:21 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -270,7 +270,7 @@ pg_an_to_ln(char *aname)
|
||||
|
||||
|
||||
/*
|
||||
* Various krb5 state which is not connection specfic, and a flag to
|
||||
* Various krb5 state which is not connection specific, and a flag to
|
||||
* indicate whether we have initialised it yet.
|
||||
*/
|
||||
static int pg_krb5_initialised;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.224 2003/02/19 14:31:26 ishii Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.225 2003/03/10 22:28:21 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -210,7 +210,7 @@ char *PasswordFromFile(char *hostname, char *port, char *dbname,
|
||||
* If it is desired to connect in a synchronous (blocking) manner, use the
|
||||
* function PQconnectdb.
|
||||
*
|
||||
* To connect in an asychronous (non-blocking) manner, use the functions
|
||||
* To connect in an asynchronous (non-blocking) manner, use the functions
|
||||
* PQconnectStart, and PQconnectPoll.
|
||||
*
|
||||
* Internally, the static functions connectDBStart, connectDBComplete
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.125 2003/02/19 03:59:02 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.126 2003/03/10 22:28:21 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -787,7 +787,7 @@ PQsendQuery(PGconn *conn, const char *query)
|
||||
|
||||
/*
|
||||
* give the data a push, ignore the return value as ConsumeInput()
|
||||
* will do any aditional flushing if needed
|
||||
* will do any additional flushing if needed
|
||||
*/
|
||||
pqFlush(conn);
|
||||
}
|
||||
@@ -1448,7 +1448,7 @@ PQexec(PGconn *conn, const char *query)
|
||||
pqCatenateResultError(lastResult, result->errMsg);
|
||||
PQclear(result);
|
||||
result = lastResult;
|
||||
/* Make sure PQerrorMessage agrees with catenated result */
|
||||
/* Make sure PQerrorMessage agrees with concatenated result */
|
||||
resetPQExpBuffer(&conn->errorMessage);
|
||||
appendPQExpBufferStr(&conn->errorMessage, result->errMsg);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: libpq-fe.h,v 1.87 2002/11/10 00:14:22 momjian Exp $
|
||||
* $Id: libpq-fe.h,v 1.88 2003/03/10 22:28:22 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -264,7 +264,7 @@ extern void PQfreeNotify(PGnotify *notify);
|
||||
extern int PQsendQuery(PGconn *conn, const char *query);
|
||||
extern PGresult *PQgetResult(PGconn *conn);
|
||||
|
||||
/* Routines for managing an asychronous query */
|
||||
/* Routines for managing an asynchronous query */
|
||||
extern int PQisBusy(PGconn *conn);
|
||||
extern int PQconsumeInput(PGconn *conn);
|
||||
|
||||
|
||||
@@ -1498,7 +1498,7 @@ pgconnect(pgobject * self, PyObject * args, PyObject * dict)
|
||||
return NULL;
|
||||
|
||||
#ifdef DEFAULT_VARS
|
||||
/* handles defaults variables (for unintialised vars) */
|
||||
/* handles defaults variables (for uninitialised vars) */
|
||||
if ((!pghost) && (pg_default_host != Py_None))
|
||||
pghost = PyString_AsString(pg_default_host);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user