Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

var.h

Blame
    • PostgreSQL Daemon's avatar
      55b11325
      · 55b11325
      PostgreSQL Daemon authored
      make sure the $Id tags are converted to $PostgreSQL as well ...
      55b11325
      History
      PostgreSQL Daemon authored
      make sure the $Id tags are converted to $PostgreSQL as well ...
    var.h 1.05 KiB
    /*-------------------------------------------------------------------------
     *
     * var.h
     *	  prototypes for var.c.
     *
     *
     * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
     * Portions Copyright (c) 1994, Regents of the University of California
     *
     * $PostgreSQL: pgsql/src/include/optimizer/var.h,v 1.29 2003/11/29 22:41:07 pgsql Exp $
     *
     *-------------------------------------------------------------------------
     */
    #ifndef VAR_H
    #define VAR_H
    
    #include "nodes/relation.h"
    
    
    extern Relids pull_varnos(Node *node);
    extern bool contain_var_reference(Node *node, int varno, int varattno,
    					  int levelsup);
    extern bool contain_whole_tuple_var(Node *node, int varno, int levelsup);
    extern bool contain_var_clause(Node *node);
    extern bool contain_vars_of_level(Node *node, int levelsup);
    extern bool contain_vars_above_level(Node *node, int levelsup);
    extern int	find_minimum_var_level(Node *node);
    extern List *pull_var_clause(Node *node, bool includeUpperVars);
    extern Node *flatten_join_alias_vars(Query *root, Node *node);
    
    #endif   /* VAR_H */