1. 10 3月, 2016 4 次提交
    • K
      Add support for anonymous code blocks (DO blocks) · cacb2839
      Kuien Liu 提交于
      Commits backported from upstream are listed below.
      
      	commit 87f2ad13
      	Author: Tom Lane <tgl@sss.pgh.pa.us>
      	Date:   Sun Mar 27 12:51:04 2011 -0400
      
      	    Fix plpgsql to release SPI plans when a function or DO block is freed.
      
      	    This fixes the gripe I made a few months ago about DO blocks getting
      	    slower with repeated use.  At least, it fixes it for the case where
      	    the DO block isn't aborted by an error.  We could try running
      	    plpgsql_free_function_memory() even during error exit, but that seems
      	    a bit scary since it makes a lot of presumptions about the data
      	    structures being in good shape.  It's probably reasonable to assume
      	    that repeated failures of DO blocks isn't a performance-critical case.
      
      	commit 42b2907d
      	Author: Tom Lane <tgl@sss.pgh.pa.us>
      	Date:   Sun Nov 29 03:02:27 2009 +0000
      
      	    Add support for anonymous code blocks (DO blocks) to PL/Perl.
      
      	    Joshua Tolley, reviewed by Brendan Jurd and Tim Bunce
      
      	commit 9048b731
      	Author: Tom Lane <tgl@sss.pgh.pa.us>
      	Date:   Tue Sep 22 23:43:43 2009 +0000
      
      	    Implement the DO statement to support execution of PL code without having
      	    to create a function for it.
      
      	    Procedural languages now have an additional entry point, namely a function
      	    to execute an inline code block.  This seemed a better design than trying
      	    to hide the transient-ness of the code from the PL.  As of this patch, only
      	    plpgsql has an inline handler, but probably people will soon write handlers
      	    for the other standard PLs.
      
      	    In passing, remove the long-dead LANCOMPILER option of CREATE LANGUAGE.
      
      	    Petr Jelinek
      cacb2839
    • H
      Update README.md to clarify the Perl and Python modules · 18e88659
      Haisheng Yuan 提交于
      Update to avoid misunderstanding. `--with-perl` means building Perl modules (PL/Perl) instead of perl runtime, `--with-python` means building Python modules (PL/Python) instead of python runtime.
      18e88659
    • A
    • H
      Revert accidentally backported 8.4 changes from pg_trgm sources. · ef145fe3
      Heikki Linnakangas 提交于
      The trgm2int() function was backported from PostgreSQL 8.4, but never used.
      And the TRGMINT() macro was removed as part of that backport, without
      changing the callers.
      
      This makes the code to compile, and the regression tests to pass, except
      for the fact that GPDB doesn't support GIN, which produces an error.
      
      Fixes issue #491, reported by @digoal.
      ef145fe3
  2. 09 3月, 2016 18 次提交
  3. 08 3月, 2016 1 次提交
  4. 09 3月, 2016 1 次提交
  5. 08 3月, 2016 3 次提交
  6. 05 3月, 2016 5 次提交
  7. 04 3月, 2016 6 次提交
  8. 03 3月, 2016 2 次提交