mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Re-run pgindent.
This is just to have a clean base state for testing of Piotr Stefaniak's latest version of FreeBSD indent. I fixed up a couple of places where pgindent would have changed format not-nicely. perltidy not included. Discussion: https://postgr.es/m/VI1PR03MB119959F4B65F000CA7CD9F6BF2CC0@VI1PR03MB1199.eurprd03.prod.outlook.com
This commit is contained in:
@ -57,23 +57,23 @@
|
||||
#define ZPBITOID 1560
|
||||
#define VARBITOID 1562
|
||||
#define NUMERICOID 1700
|
||||
#define REFCURSOROID 1790
|
||||
#define REFCURSOROID 1790
|
||||
#define REGPROCEDUREOID 2202
|
||||
#define REGOPEROID 2203
|
||||
#define REGOPERATOROID 2204
|
||||
#define REGCLASSOID 2205
|
||||
#define REGTYPEOID 2206
|
||||
#define REGROLEOID 4096
|
||||
#define REGNAMESPACEOID 4089
|
||||
#define REGOPEROID 2203
|
||||
#define REGOPERATOROID 2204
|
||||
#define REGCLASSOID 2205
|
||||
#define REGTYPEOID 2206
|
||||
#define REGROLEOID 4096
|
||||
#define REGNAMESPACEOID 4089
|
||||
#define REGTYPEARRAYOID 2211
|
||||
#define UUIDOID 2950
|
||||
#define LSNOID 3220
|
||||
#define TSVECTOROID 3614
|
||||
#define GTSVECTOROID 3642
|
||||
#define TSQUERYOID 3615
|
||||
#define REGCONFIGOID 3734
|
||||
#define REGDICTIONARYOID 3769
|
||||
#define LSNOID 3220
|
||||
#define TSVECTOROID 3614
|
||||
#define GTSVECTOROID 3642
|
||||
#define TSQUERYOID 3615
|
||||
#define REGCONFIGOID 3734
|
||||
#define REGDICTIONARYOID 3769
|
||||
#define JSONBOID 3802
|
||||
#define INT4RANGEOID 3904
|
||||
#define INT4RANGEOID 3904
|
||||
|
||||
#endif /* PG_TYPE_H */
|
||||
|
@ -419,7 +419,7 @@ pg_SSPI_startup(PGconn *conn, int use_negotiate, int payloadlen)
|
||||
if (conn->sspictx)
|
||||
{
|
||||
printfPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("duplicate SSPI authentication request\n"));
|
||||
libpq_gettext("duplicate SSPI authentication request\n"));
|
||||
return STATUS_ERROR;
|
||||
}
|
||||
|
||||
@ -1218,7 +1218,7 @@ PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
|
||||
else
|
||||
{
|
||||
printfPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("unrecognized password encryption algorithm \"%s\"\n"),
|
||||
libpq_gettext("unrecognized password encryption algorithm \"%s\"\n"),
|
||||
algorithm);
|
||||
return NULL;
|
||||
}
|
||||
|
@ -1842,16 +1842,23 @@ connectDBComplete(PGconn *conn)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (ret == 1) /* connect_timeout elapsed */
|
||||
if (ret == 1) /* connect_timeout elapsed */
|
||||
{
|
||||
/* If there are no more hosts, return (the error message is already set) */
|
||||
/*
|
||||
* If there are no more hosts, return (the error message is
|
||||
* already set)
|
||||
*/
|
||||
if (++conn->whichhost >= conn->nconnhost)
|
||||
{
|
||||
conn->whichhost = 0;
|
||||
conn->status = CONNECTION_BAD;
|
||||
return 0;
|
||||
}
|
||||
/* Attempt connection to the next host, starting the connect_timeout timer */
|
||||
|
||||
/*
|
||||
* Attempt connection to the next host, starting the
|
||||
* connect_timeout timer
|
||||
*/
|
||||
pqDropConnection(conn, true);
|
||||
conn->addr_cur = conn->connhost[conn->whichhost].addrlist;
|
||||
conn->status = CONNECTION_NEEDED;
|
||||
|
Reference in New Issue
Block a user