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

parse_expr.c

Blame
    • Bruce Momjian's avatar
      9b21a18c
      the following little patch adds array references to query · 9b21a18c
      Bruce Momjian authored
          parameters. With it applied a function like
      
          CREATE FUNCTION getname(oid8, int4) RETURNS name AS
              'SELECT typname FROM pg_type WHERE oid = $1[$2]'
              LANGUAGE 'sql';
      
          is possible. Mainly I need this to enable array references in
          expressions for PL/pgSQL. Complete regression test ran O.K.
      
      Jan
      9b21a18c
      History
      the following little patch adds array references to query
      Bruce Momjian authored
          parameters. With it applied a function like
      
          CREATE FUNCTION getname(oid8, int4) RETURNS name AS
              'SELECT typname FROM pg_type WHERE oid = $1[$2]'
              LANGUAGE 'sql';
      
          is possible. Mainly I need this to enable array references in
          expressions for PL/pgSQL. Complete regression test ran O.K.
      
      Jan