mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +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:
contrib
amcheck
cube
file_fdw
intarray
pg_stat_statements
pgcrypto
pgstattuple
postgres_fdw
src
backend
access
common
gin
gist
hash
heap
nbtree
spgist
table
transam
catalog
commands
amcmds.ccluster.cconstraint.cdbcommands.cexplain.cextension.cindexcmds.cstatscmds.ctablecmds.ctablespace.ctrigger.cvacuum.c
executor
execExpr.cexecExprInterp.cexecMain.cexecParallel.cexecPartition.cexecReplication.cexecScan.cexecTuples.cfunctions.cnodeAgg.cnodeGatherMerge.cnodeHashjoin.cnodeIndexonlyscan.cnodeIndexscan.cnodeLockRows.cnodeModifyTable.cnodeSeqscan.cnodeSubplan.cnodeSubqueryscan.c
libpq
nodes
optimizer
parser
partitioning
replication
statistics
storage
tcop
utils
bin
initdb
pg_archivecleanup
pg_basebackup
pg_dump
common.ccompress_io.cparallel.cpg_backup_archiver.cpg_backup_custom.cpg_backup_db.cpg_backup_directory.cpg_backup_tar.cpg_dump.cpg_dumpall.cpg_restore.c
pg_rewind
pg_upgrade
pg_waldump
pgbench
psql
common
include
access
catalog
commands
common
executor
libpq
miscadmin.hnodes
parser
pgstat.hport.hreplication
statistics
storage
tcop
utils
interfaces
ecpg
ecpglib
include
preproc
libpq
pl
port
test
regress
tools
pgindent
@ -2813,12 +2813,12 @@ RelationGetNumberOfBlocksInFork(Relation relation, ForkNumber forkNum)
|
||||
case RELKIND_MATVIEW:
|
||||
{
|
||||
/*
|
||||
* Not every table AM uses BLCKSZ wide fixed size
|
||||
* blocks. Therefore tableam returns the size in bytes - but
|
||||
* for the purpose of this routine, we want the number of
|
||||
* blocks. Therefore divide, rounding up.
|
||||
* Not every table AM uses BLCKSZ wide fixed size blocks.
|
||||
* Therefore tableam returns the size in bytes - but for the
|
||||
* purpose of this routine, we want the number of blocks.
|
||||
* Therefore divide, rounding up.
|
||||
*/
|
||||
uint64 szbytes;
|
||||
uint64 szbytes;
|
||||
|
||||
szbytes = table_relation_size(relation, forkNum);
|
||||
|
||||
|
Reference in New Issue
Block a user