mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Fix inconsistencies and typos in the tree, take 10
This addresses some issues with unnecessary code comments, fixes various typos in docs and comments, and removes some orphaned structures and definitions. Author: Alexander Lakhin Discussion: https://postgr.es/m/9aabc775-5494-b372-8bcb-4dfc0bd37c68@gmail.com
This commit is contained in:
@@ -679,11 +679,6 @@ intoasc(interval * i, char *str)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* rfmt.c - description
|
||||
* by Carsten Wolff <carsten.wolff@credativ.de>, Wed Apr 2 2003
|
||||
*/
|
||||
|
||||
static struct
|
||||
{
|
||||
long val;
|
||||
@@ -745,7 +740,7 @@ initValue(long lng_val)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* return the position oft the right-most dot in some string */
|
||||
/* return the position of the right-most dot in some string */
|
||||
static int
|
||||
getRightMostDot(const char *str)
|
||||
{
|
||||
|
@@ -287,7 +287,7 @@ extern PQconninfoOption *PQconninfo(PGconn *conn);
|
||||
extern void PQconninfoFree(PQconninfoOption *connOptions);
|
||||
|
||||
/*
|
||||
* close the current connection and restablish a new one with the same
|
||||
* close the current connection and reestablish a new one with the same
|
||||
* parameters
|
||||
*/
|
||||
/* Asynchronous (non-blocking) */
|
||||
|
Reference in New Issue
Block a user