Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Feb 27, 2014

  1. Marko Kreen

    Merge pull request #9 from petere/patch-1

    Fix typo in validator security check
    authored

Feb 23, 2014

  1. Peter Eisentraut

    Fix typo in validator security check

    petere authored

Feb 19, 2014

  1. Marko Kreen

    Security check for validator function

    authored

Nov 05, 2013

  1. Marko Kreen

    remote_wait_for_cancel: avoid unnecessary warning

    If the remote server cannot be connected and query is canceled,
    don't show random warning about "Unfinished connection".
    
    Patch by Fazal Majid
    authored

Aug 24, 2013

  1. Marko Kreen

    Use setseed() in RUN ON ANY regtest.

    Without it, the test can fail occasionally.
    
    Reported by Peter Eisentraut.
    authored

Jul 08, 2013

  1. Marko Kreen

    remote_wait_for_cancel: move pending check before poll()

    Otherwise it can still hang.
    authored

Apr 15, 2013

  1. Marko Kreen

    Instead 2.5.1, use 2.6 as next ver.

    the validator is too big change for 2.5.1
    authored
  2. Marko Kreen

    Comment typo

    authored
  3. Marko Kreen

    remote_wait_for_cancel: wait only C_QUERY_READ connections.

    Previous check was too broad and left plproxy hanging.
    
    Reported-By: Tarvi Pillessaar
    authored

Jan 31, 2013

  1. Peter Eisentraut

    Add language validator

    Refactor some internals to make this possible.  Mainly, FunctionCallInfo
    is not available when validating, so avoid accessing that if not
    required.  Rename plproxy_compile() to plproxy_compile_and_cache() and
    the previously internal fn_compile() to plproxy_compile().  This matches
    their purpose better and allows the validator to call plproxy_compile()
    without invoking execution-time dependent code.
    
    Many error test cases have changed because the validator catches errors
    when the function is created, not when it is called.
    
    Raise the extension version to 2.5.1 to be able to upgrade from
    non-validator installations.
    petere authored
  2. Peter Eisentraut

    Add more test cases for error conditions

    petere authored
  3. Peter Eisentraut

    Add additional built files to .gitignore

    petere authored

Jan 04, 2013

  1. Marko Kreen

    deb cleanup

    * use installed pg_buildext
    * use installed pgxs_debian_control.mk
    * don't override 'clean' target in debian/rules
    * 'make deb' forces control file regeneration
    
    This reduces crap maintained locally.
    
    It also does mean that to build against server-dev-X.Y package
    that is not for Debians default Postgres version, following packages
    need to be installed from PGDG (wiki.postgresql.org/wiki/Apt) repo:
    
      postgresql-client-common
      postgresql-common
      postgresql-server-dev-all
    authored

Nov 27, 2012

  1. Marko Kreen

    v2.5

    authored

Nov 23, 2012

  1. Marko Kreen

    Merge pull request #4 from petere/master

    Fix build with PostgreSQL 9.3devel
    authored
  2. Peter Eisentraut

    Fix build with PostgreSQL 9.3devel

    Some needed declarations have been moved to the new header
    htup_details.h.
    
    stringinfo.h needs to be included explicitly now.  It should always have
    been necessary, but might have come in through other headers.
    petere authored

Nov 17, 2012

  1. Marko Kreen

    Move RANGE to acceptable types, add tests

    authored
  2. Marko Kreen

    Test for "RETURNS TABLE (..)" functions

    authored
  3. Marko Kreen

    Use PROVOLATILE constant

    authored
  4. Marko Kreen

    Use TYPTYPE symbolic constants

    authored

Nov 16, 2012

  1. Marko Kreen

    Accept 't' proargmode, use symbolic names.

    Also throw error on unknown proargmode.
    
    Fixes crash reported by Sébastien Lardière.
    authored

Oct 31, 2012

  1. Marko Kreen

    v2.5rc1

    authored
  2. Marko Kreen

    debclean target

    authored
  3. Marko Kreen

    Bump ext ver to 2.5.0, add upgrade scripts

    authored

Oct 12, 2012

  1. Marko Kreen

    Rename table alter test

    authored
  2. Marko Kreen

    After sending cancel req, wait for remote error

    Previously, as soon as cancel requests were send,
    plproxy re-throwed the error, without waiting for
    reaction from backend.  Such behaviour creates
    2 problems:
    
    - If plproxy backend is closed immediately, the bouncer will
      see plproxy close before cancel from backend, thus seeing
      mid-tx close, thus dropping the connection.
    
    - If new query comes in to plproxy backend, plproxy itself
      will see dirty connection, closing it, thus also causing
      close of server connection in bouncer.
    
    In both cases it can cause server connection drop in pooler.
    New behaviour of waiting query result should fix it.
    authored

Oct 11, 2012

  1. Marko Kreen

    Table invalidation

    On each call, recheck type relation rowstamp.
    
    If it proves to be noticeable, we can use
    syscache callback infrastructure for that,
    but it will be much more complex.
    authored
  2. Marko Kreen

    Support for dropped fields

    authored

May 07, 2012

  1. Marko Kreen

    v2.4

    authored
  2. Marko Kreen

    PGVER: add quoting

    This avoids breakage if pg_config is not found
    and PGVER stays empty.
    authored

Apr 13, 2012

  1. Marko Kreen

    v2.4rc2

    authored
  2. Marko Kreen

    Proper init and cleanup for ConnectionState

    Otherwise there can be garbage in struct
    authored
  3. Marko Kreen

    Another get_role_oid() fixup

    authored

Apr 12, 2012

  1. Marko Kreen

    Use container_of() to get main struct from node

    Direct casts hardwire the assumption that node
    is always first member of struct.
    authored
  2. Marko Kreen

    Provide get_role_oid() on older Postgres

    authored
Something went wrong with that request. Please try again.