mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
provided by Andrew.
This commit is contained in:
contrib
auto_explain
btree_gin
btree_gist
btree_bit.cbtree_bytea.cbtree_cash.cbtree_date.cbtree_float4.cbtree_float8.cbtree_gist.cbtree_gist.hbtree_inet.cbtree_int2.cbtree_int4.cbtree_int8.cbtree_interval.cbtree_macaddr.cbtree_numeric.cbtree_oid.cbtree_text.cbtree_time.cbtree_ts.cbtree_utils_num.cbtree_utils_num.hbtree_utils_var.cbtree_utils_var.h
chkpass
citext
cube
dblink
dict_int
earthdistance
fuzzystrmatch
hstore
intarray
isn
ltree
_ltree_gist.c_ltree_op.clquery_op.cltree.hltree_gist.cltree_io.cltree_op.cltxtquery_io.cltxtquery_op.c
oid2name
pageinspect
pg_buffercache
pg_freespacemap
pg_standby
pg_stat_statements
pg_trgm
pgbench
pgcrypto
blf.cblf.hcrypt-blowfish.ccrypt-gensalt.cfortuna.cimath.cimath.hinternal-sha2.cinternal.cmbuf.cmbuf.hmd5.cmd5.hopenssl.cpgp-cfb.cpgp-compress.cpgp-decrypt.cpgp-encrypt.cpgp-info.cpgp-mpi-internal.cpgp-mpi-openssl.cpgp-mpi.cpgp-pgsql.cpgp-pubdec.cpgp-pubenc.cpgp-pubkey.cpgp-s2k.cpgp.cpgp.hpx-hmac.cpx.cpx.hrijndael.crijndael.hsha2.csha2.h
pgrowlocks
pgstattuple
seg
spi
tablefunc
test_parser
tsearch2
uuid-ossp
xml2
src
backend
access
common
gin
ginarrayproc.cginbulk.cgindatapage.cginentrypage.cginfast.cginget.cgininsert.cginscan.cginutil.cginvacuum.cginxlog.c
gist
hash
heap
index
nbtree
transam
catalog
aclchk.ccatalog.cdependency.cheap.cindex.cnamespace.cpg_aggregate.cpg_constraint.cpg_depend.cpg_inherits.cpg_operator.cpg_proc.cpg_shdepend.cpg_type.cstorage.ctoasting.c
commands
aggregatecmds.canalyze.casync.ccluster.ccomment.cconversioncmds.ccopy.cdbcommands.cexplain.cforeigncmds.cfunctioncmds.cindexcmds.clockcmds.coperatorcmds.cportalcmds.cprepare.cproclang.cschemacmds.csequence.ctablecmds.ctrigger.ctsearchcmds.ctypecmds.cuser.cvacuum.cvacuumlazy.cvariable.cview.c
executor
execCurrent.cexecMain.cexecQual.cexecTuples.cexecUtils.cfunctions.cnodeBitmapHeapscan.cnodeBitmapIndexscan.cnodeCtescan.cnodeFunctionscan.cnodeHash.cnodeHashjoin.cnodeIndexscan.cnodeLimit.cnodeMaterial.cnodeMergejoin.cnodeNestloop.cnodeRecursiveunion.cnodeSetOp.cnodeSubplan.cnodeTidscan.cnodeUnique.cnodeWindowAgg.cnodeWorktablescan.cspi.ctstoreReceiver.c
foreign
libpq
nodes
optimizer
path
plan
prep
util
parser
analyze.cparse_agg.cparse_clause.cparse_coerce.cparse_cte.cparse_expr.cparse_func.cparse_node.cparse_oper.cparse_relation.cparse_target.cparse_type.cparse_utilcmd.cparser.c
port
postmaster
regex
rewrite
storage
buffer
file
freespace
ipc
large_object
lmgr
smgr
tcop
tsearch
utils
adt
acl.carray_userfuncs.carrayfuncs.cbool.ccash.cdate.cdatetime.cdbsize.cfloat.cformatting.cint8.clike_match.cmisc.cnabstime.cnetwork.cnumeric.coracle_compat.cpg_locale.cpg_lzcompress.cpgstatfuncs.cquote.cregexp.cri_triggers.crowtypes.cruleutils.cselfuncs.ctimestamp.ctrigfuncs.ctsginidx.ctsgistidx.ctsquery.ctsquery_gist.ctsquery_op.ctsquery_util.ctsrank.ctsvector.ctsvector_op.cuuid.cvarchar.cvarlena.cwindowfuncs.cxml.c
cache
error
fmgr
init
mb
misc
mmgr
resowner
sort
time
bin
initdb
pg_controldata
pg_ctl
pg_dump
common.cdumputils.ckeywords.cpg_backup.hpg_backup_archiver.cpg_backup_archiver.hpg_backup_custom.cpg_backup_db.cpg_dump.cpg_dump.hpg_dump_sort.cpg_dumpall.cpg_restore.c
pg_resetxlog
pgevent
psql
scripts
include
access
clog.hgenam.hgin.hgist_private.hhash.hheapam.hhio.hhtup.hnbtree.hreloptions.hvisibilitymap.hxact.hxlogutils.h
c.hcatalog
catalog.hcatversion.hdependency.hgenbki.hheap.hindexing.hnamespace.hpg_amop.hpg_attribute.hpg_cast.hpg_class.hpg_conversion_fn.hpg_foreign_server.hpg_operator.hpg_proc.hpg_proc_fn.hpg_shdepend.hpg_statistic.hpg_type.hpg_type_fn.hpg_user_mapping.h
commands
executor
foreign
funcapi.hlibpq
mb
miscadmin.hnodes
execnodes.hmakefuncs.hnodeFuncs.hnodes.hparsenodes.hpg_list.hplannodes.hprimnodes.hrelation.htidbitmap.h
optimizer
parser
pg_config_manual.hpgstat.hport.hport
portability
postmaster
regex
rewrite
storage
buf_internals.hbufmgr.hfreespace.hfsm_internals.hipc.hlmgr.hpmsignal.hprocarray.hrelfilenode.hshmem.hsinval.hsinvaladt.hsmgr.h
tcop
tsearch
utils
acl.hcash.hdate.hdatetime.helog.hguc.hguc_tables.hlsyscache.hrel.hselfuncs.hsnapmgr.hsnapshot.htimestamp.htuplesort.htuplestore.hxml.h
windowapi.hinterfaces
ecpg
compatlib
ecpglib
include
pgtypeslib
preproc
libpq
pl
plperl
plpgsql
plpython
tcl
port
crypt.cdirmod.cexec.cgetopt.cgetopt_long.cgetrusage.copen.cpath.cpipe.cpthread-win32.hrand.cstrlcat.cstrtol.cstrtoul.cwin32env.c
test
examples
locale
regress
timezone
tools
fsync
tutorial
@ -26,7 +26,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.324 2009/05/07 22:58:28 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.325 2009/06/11 14:48:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -62,9 +62,9 @@
|
||||
|
||||
|
||||
/* Hooks for plugins to get control in ExecutorStart/Run/End() */
|
||||
ExecutorStart_hook_type ExecutorStart_hook = NULL;
|
||||
ExecutorRun_hook_type ExecutorRun_hook = NULL;
|
||||
ExecutorEnd_hook_type ExecutorEnd_hook = NULL;
|
||||
ExecutorStart_hook_type ExecutorStart_hook = NULL;
|
||||
ExecutorRun_hook_type ExecutorRun_hook = NULL;
|
||||
ExecutorEnd_hook_type ExecutorEnd_hook = NULL;
|
||||
|
||||
typedef struct evalPlanQual
|
||||
{
|
||||
@ -552,17 +552,17 @@ ExecCheckRTEPerms(RangeTblEntry *rte)
|
||||
}
|
||||
|
||||
/*
|
||||
* Basically the same for the mod columns, with either INSERT or UPDATE
|
||||
* privilege as specified by remainingPerms.
|
||||
* Basically the same for the mod columns, with either INSERT or
|
||||
* UPDATE privilege as specified by remainingPerms.
|
||||
*/
|
||||
remainingPerms &= ~ACL_SELECT;
|
||||
if (remainingPerms != 0)
|
||||
{
|
||||
/*
|
||||
* When the query doesn't explicitly change any columns, allow
|
||||
* the query if we have permission on any column of the rel. This
|
||||
* is to handle SELECT FOR UPDATE as well as possible corner cases
|
||||
* in INSERT and UPDATE.
|
||||
* When the query doesn't explicitly change any columns, allow the
|
||||
* query if we have permission on any column of the rel. This is
|
||||
* to handle SELECT FOR UPDATE as well as possible corner cases in
|
||||
* INSERT and UPDATE.
|
||||
*/
|
||||
if (bms_is_empty(rte->modifiedCols))
|
||||
{
|
||||
@ -843,9 +843,9 @@ InitPlan(QueryDesc *queryDesc, int eflags)
|
||||
|
||||
/*
|
||||
* Initialize the junk filter if needed. SELECT and INSERT queries need a
|
||||
* filter if there are any junk attrs in the tlist. UPDATE and
|
||||
* DELETE always need a filter, since there's always a junk 'ctid'
|
||||
* attribute present --- no need to look first.
|
||||
* filter if there are any junk attrs in the tlist. UPDATE and DELETE
|
||||
* always need a filter, since there's always a junk 'ctid' attribute
|
||||
* present --- no need to look first.
|
||||
*
|
||||
* This section of code is also a convenient place to verify that the
|
||||
* output of an INSERT or UPDATE matches the target table(s).
|
||||
@ -1194,7 +1194,7 @@ ExecCheckPlanOutput(Relation resultRel, List *targetList)
|
||||
errdetail("Table has type %s at ordinal position %d, but query expects %s.",
|
||||
format_type_be(attr->atttypid),
|
||||
attno,
|
||||
format_type_be(exprType((Node *) tle->expr)))));
|
||||
format_type_be(exprType((Node *) tle->expr)))));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1215,7 +1215,7 @@ ExecCheckPlanOutput(Relation resultRel, List *targetList)
|
||||
if (attno != resultDesc->natts)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_DATATYPE_MISMATCH),
|
||||
errmsg("table row type and query-specified row type do not match"),
|
||||
errmsg("table row type and query-specified row type do not match"),
|
||||
errdetail("Query has too few columns.")));
|
||||
}
|
||||
|
||||
@ -1547,7 +1547,7 @@ lnext: ;
|
||||
/* if child rel, must check whether it produced this row */
|
||||
if (erm->rti != erm->prti)
|
||||
{
|
||||
Oid tableoid;
|
||||
Oid tableoid;
|
||||
|
||||
datum = ExecGetJunkAttribute(slot,
|
||||
erm->toidAttNo,
|
||||
@ -1774,8 +1774,8 @@ ExecInsert(TupleTableSlot *slot,
|
||||
* rowtype.
|
||||
*
|
||||
* XXX if we ever wanted to allow users to assign their own OIDs to new
|
||||
* rows, this'd be the place to do it. For the moment, we make a point
|
||||
* of doing this before calling triggers, so that a user-supplied trigger
|
||||
* rows, this'd be the place to do it. For the moment, we make a point of
|
||||
* doing this before calling triggers, so that a user-supplied trigger
|
||||
* could hack the OID if desired.
|
||||
*/
|
||||
if (resultRelationDesc->rd_rel->relhasoids)
|
||||
@ -2847,7 +2847,7 @@ OpenIntoRel(QueryDesc *queryDesc)
|
||||
Oid intoRelationId;
|
||||
TupleDesc tupdesc;
|
||||
DR_intorel *myState;
|
||||
static char *validnsps[] = HEAP_RELOPT_NAMESPACES;
|
||||
static char *validnsps[] = HEAP_RELOPT_NAMESPACES;
|
||||
|
||||
Assert(into);
|
||||
|
||||
@ -2970,8 +2970,8 @@ OpenIntoRel(QueryDesc *queryDesc)
|
||||
myState->rel = intoRelationDesc;
|
||||
|
||||
/*
|
||||
* We can skip WAL-logging the insertions, unless PITR is in use. We
|
||||
* can skip the FSM in any case.
|
||||
* We can skip WAL-logging the insertions, unless PITR is in use. We can
|
||||
* skip the FSM in any case.
|
||||
*/
|
||||
myState->hi_options = HEAP_INSERT_SKIP_FSM |
|
||||
(XLogArchivingActive() ? 0 : HEAP_INSERT_SKIP_WAL);
|
||||
|
Reference in New Issue
Block a user