Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.9rc1
Commits on Jul 13, 2011
  1. Yichun Zhang

    fixed an issue regarding defining global variables in C header files:…

    agentzh authored
    … we should have defined rds_rough_col_type_t as a type rather than a global variable. thanks @姜大炮.
Commits on Jun 21, 2011
  1. Piotr Sikora

    Always return first (and only) value for "postgres_output value".

    PiotrSikora authored
    This is second part of the "write proper SQL queries" campaign. Queries
    that return more than one value will result in "500 Internal Server Error"
    response.
  2. Piotr Sikora

    Replace "postgres_output row <row>" with "postgres_output text".

    PiotrSikora authored
    This is more general approach, which forces writing proper SQL queries
    instead of filtering results on the nginx side and allows for sending
    output from multiple rows to end-users.
    
    Discussed with Silly Sad.
  3. Piotr Sikora
Commits on Jun 17, 2011
  1. Piotr Sikora

    Improve library discovery process by using PostgreSQL's pg_config.

    PiotrSikora authored
    Based on patch from Silly Sad.
  2. Piotr Sikora

    Don't set last_buf=1 (duplicated last chunk issue).

    PiotrSikora authored
    Because ngx_http_upstream_finalize_request sends NGX_HTTP_LAST,
    having last_buf=1 in our module meant that last two chains always
    had last_buf=1, which resulted in duplicated last chunk sent for
    HTTP/1.1 requests. This pretty much killed keep-alived requests.
    
    Reported by Silly Sad, diagnosed by Maxim Dounin.
    
    Same issue was independently diagnosed and fixed in ngx_drizzle
    by Yichun Zhang (agentzh) few days ago.
Commits on May 11, 2011
  1. Yichun Zhang
  2. Yichun Zhang

    updated .gitignore a bit.

    agentzh authored
Commits on Feb 18, 2011
  1. Yichun Zhang
  2. Yichun Zhang

    removed the hand-written << "in upstream \"t.shV\"", &pgdt->name >> p…

    agentzh authored
    …art from most of the ngx_log_error calls in ngx_postgres_keepalive.c because they are duplicate with the << upstream: "postgres://ip.add.re.ss:port" >> part automatically generated by the ngx_http_log_error_handler function in the nginx core.
  3. Yichun Zhang

    fixed a bug in the connection pool: we should copy over the "name" an…

    agentzh authored
    …d "sockaddr" fields instead of passing pointers around.
Commits on Feb 17, 2011
  1. Yichun Zhang

    fixed a minor bug in the connection pool: we should resume the "name"…

    agentzh authored
    …, "sockaddr", and "socklen" fields for the connection from the pool such that we can get more detailed error log messages with the "upstream: postgres://ip.add.re.ss:port" bit.
Commits on Jan 13, 2011
  1. Piotr Sikora

    Use PQescapeLiteral() to detect PostgreSQL 9.0.

    PiotrSikora authored
    Calling PQconnectStartParams(NULL, *, *) results in SIGSEGV.
Commits on Jan 4, 2011
  1. Piotr Sikora
Commits on Dec 23, 2010
  1. Piotr Sikora
  2. Piotr Sikora
  3. Piotr Sikora
  4. Piotr Sikora
  5. Piotr Sikora
  6. Piotr Sikora

    Revert fixed jump on uninitialized value.

    PiotrSikora authored
    The problem is that this value shouldn't be used in the first place
    (see next commit).
    
    This reverts commit 1ed9f15.
  7. Piotr Sikora
  8. Piotr Sikora
  9. Piotr Sikora

    Revert "postgres_binary_mode".

    PiotrSikora authored
    This is great feature, but the way it hooks into configuration must
    be rewritten (as discussed with Yichun on the IRC).
    
    This reverts commit 4187c57.
Commits on Dec 22, 2010
  1. Piotr Sikora
  2. Piotr Sikora

    Revert fix backported from ngx_drizzle.

    PiotrSikora authored
    I've just tested each case and there is no such bug in ngx_postgres,
    each error.log entry contains correct upstream peer name.
    
    I'll re-add "pc->name = &peer->name;" in case nginx or 3rd-party
    modules will ever use it, but "pc->name" isn't used by ngx_postgres.
    
    This reverts commit 8126a4f.
  3. Piotr Sikora
  4. Piotr Sikora
  5. Piotr Sikora
  6. Piotr Sikora

    Publish roadmap.

    PiotrSikora authored
  7. Yichun Zhang
Commits on Nov 4, 2010
  1. Yichun Zhang
  2. Yichun Zhang
  3. Yichun Zhang

    backported a patch from ngx_drizzle: fixed a bug: we did not initialize

    agentzh authored
    r->upstream->peer.name in the get_peer function which caused error
    messages lacking upstream peer names and ports.
Commits on Nov 3, 2010
  1. Yichun Zhang
Commits on Nov 2, 2010
  1. Yichun Zhang
Something went wrong with that request. Please try again.