1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

Lots of doc corrections.

Josh Kupershmidt
This commit is contained in:
Robert Haas
2012-04-23 22:43:09 -04:00
parent 7ab9b2f3b7
commit 5d4b60f2f2
71 changed files with 81 additions and 81 deletions

View File

@@ -1795,7 +1795,7 @@ dblink_current_query(PG_FUNCTION_ARGS)
/*
* Retrieve async notifications for a connection.
*
* Returns an setof record of notifications, or an empty set if none recieved.
* Returns an setof record of notifications, or an empty set if none received.
* Can optionally take a named connection as parameter, but uses the unnamed connection per default.
*
*/

View File

@@ -157,7 +157,7 @@ getcode(char c)
/* These letters are passed through unchanged */
#define NOCHANGE(c) (getcode(c) & 2) /* FJMNR */
/* These form dipthongs when preceding H */
/* These form diphthongs when preceding H */
#define AFFECTH(c) (getcode(c) & 4) /* CGPST */
/* These make C and G soft */

View File

@@ -171,7 +171,7 @@ levenshtein_internal(text *s, text *t,
* length. Each additional deletion forces another insertion, so
* the best-case total cost increases by ins_c + del_c. If the
* string is shrinking, the minimum theoretical cost assumes no
* excess deletions; that is, we're starting no futher right than
* excess deletions; that is, we're starting no further right than
* column n - m. If we do start further right, the best-case
* total cost increases by ins_c + del_c for each move right.
*/

View File

@@ -74,7 +74,7 @@ get_val(HSParser *state, bool ignoreeq, bool *escaped)
}
else if (*(state->ptr) == '=' && !ignoreeq)
{
elog(ERROR, "Syntax error near '%c' at postion %d", *(state->ptr), (int4) (state->ptr - state->begin));
elog(ERROR, "Syntax error near '%c' at position %d", *(state->ptr), (int4) (state->ptr - state->begin));
}
else if (*(state->ptr) == '\\')
{

View File

@@ -234,7 +234,7 @@ get_db_infos(ClusterInfo *cluster)
/*
* get_rel_infos()
*
* gets the relinfos for all the user tables of the database refered
* gets the relinfos for all the user tables of the database referred
* by "db".
*
* NOTE: we assume that relations/entities with oids greater than

View File

@@ -15,7 +15,7 @@
* oids are the same between old and new clusters. This is important
* because toast oids are stored as toast pointers in user tables.
*
* FYI, while pg_class.oid and pg_class.relfilenode are intially the same
* FYI, while pg_class.oid and pg_class.relfilenode are initially the same
* in a cluster, but they can diverge due to CLUSTER, REINDEX, or VACUUM
* FULL. The new cluster will have matching pg_class.oid and
* pg_class.relfilenode values and be based on the old oid value. This can

View File

@@ -396,7 +396,7 @@ old_8_3_rebuild_tsvector_tables(ClusterInfo *cluster, bool check_mode)
PQclear(res);
/* XXX Mark tables as not accessable somehow */
/* XXX Mark tables as not accessible somehow */
PQfinish(conn);
}
@@ -666,7 +666,7 @@ old_8_3_invalidate_bpchar_pattern_ops_indexes(ClusterInfo *cluster,
* we don't transfer sequence files but instead use the CREATE SEQUENCE
* command from the schema dump, and use setval() to restore the sequence
* value and 'is_called' from the old database. This is safe to run
* by pg_upgrade because sequence files are not transfered from the old
* by pg_upgrade because sequence files are not transferred from the old
* server, even in link mode.
*/
char *

View File

@@ -711,7 +711,7 @@ px_crypt_des(const char *key, const char *setting)
/*
* Double check that we weren't given a short setting. If we were, the
* above code will probably have created wierd values for count and
* above code will probably have created weird values for count and
* salt, but we don't really care. Just make sure the output string
* doesn't have an extra NUL in it.
*/

View File

@@ -647,7 +647,7 @@ mp_int_add(mp_int a, mp_int b, mp_int c)
/* Different signs -- subtract magnitudes, preserve sign of greater */
mp_int x,
y;
int cmp = s_ucmp(a, b); /* magnitude comparision, sign ignored */
int cmp = s_ucmp(a, b); /* magnitude comparison, sign ignored */
/* Set x to max(a, b), y to min(a, b) to simplify later code */
if (cmp >= 0)

View File

@@ -625,7 +625,7 @@ out:
px_set_debug_handler(NULL);
/*
* add successfull decryptions also into RNG
* add successful decryptions also into RNG
*/
add_entropy(res, key, keypsw);

View File

@@ -74,7 +74,7 @@ typedef struct {
* sepgsql_get_client_label
*
* Returns the current security label of the client. All code should use this
* routine to get the current label, instead of refering to the client_label_*
* routine to get the current label, instead of referring to the client_label_*
* variables above.
*/
char *

View File

@@ -132,7 +132,7 @@ ssl_client_serial(PG_FUNCTION_ARGS)
* current database encoding if possible. Any invalid characters are
* replaced by question marks.
*
* Parameter: str - OpenSSL ASN1_STRING structure. Memory managment
* Parameter: str - OpenSSL ASN1_STRING structure. Memory management
* of this structure is responsibility of caller.
*
* Returns Datum, which can be directly returned from a C language SQL