mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent. I thought it would be good to commit this separately, so as to document the differences between 2.0 and 2.1 behavior. Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
This commit is contained in:
@@ -235,7 +235,7 @@ InitCompressorZlib(CompressorState *cs, int level)
|
||||
|
||||
if (deflateInit(zp, level) != Z_OK)
|
||||
fatal("could not initialize compression library: %s",
|
||||
zp->msg);
|
||||
zp->msg);
|
||||
|
||||
/* Just be paranoid - maybe End is called after Start, with no Write */
|
||||
zp->next_out = (void *) cs->zlibOut;
|
||||
@@ -334,7 +334,7 @@ ReadDataFromArchiveZlib(ArchiveHandle *AH, ReadFunc readF)
|
||||
|
||||
if (inflateInit(zp) != Z_OK)
|
||||
fatal("could not initialize compression library: %s",
|
||||
zp->msg);
|
||||
zp->msg);
|
||||
|
||||
/* no minimal chunk size for zlib */
|
||||
while ((cnt = readF(AH, &buf, &buflen)))
|
||||
@@ -586,7 +586,7 @@ cfread(void *ptr, int size, cfp *fp)
|
||||
const char *errmsg = gzerror(fp->compressedfp, &errnum);
|
||||
|
||||
fatal("could not read from input file: %s",
|
||||
errnum == Z_ERRNO ? strerror(errno) : errmsg);
|
||||
errnum == Z_ERRNO ? strerror(errno) : errmsg);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user