Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PREPARE #148

Merged
merged 4 commits into from
Nov 11, 2019
Merged

Add support for PREPARE #148

merged 4 commits into from
Nov 11, 2019

Commits on Jul 1, 2019

  1. Add support for CREATE DOMAIN

    CREATE DOMAIN us_postal_code AS TEXT
    CHECK(
       VALUE ~ '^\d{5}$'
    OR VALUE ~ '^\d{5}-\d{4}$'
    );
    mehmet emin karakas committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    71c5b9e View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Merge remote-tracking branch 'upstream/master'

    mehmet emin karakas committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    493e41e View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2019

  1. Add support for PREPARE

    PREPARE fooplan (int, text, bool, numeric) AS
        INSERT INTO foo VALUES($1, $2, $3, $4);
    EXECUTE fooplan(1, 'Hunter Valley', 't', 200.00);
    
    PREPARE usrrptplan (int) AS
        SELECT * FROM users u, logs l WHERE u.usrid=$1 AND u.usrid=l.usrid
        AND l.date = $2;
    EXECUTE usrrptplan(1, current_date);
    mehmet emin karakas committed Jul 7, 2019
    Configuration menu
    Copy the full SHA
    08fea1a View commit details
    Browse the repository at this point in the history
  2. Conflict change

    mehmet emin karakas committed Jul 7, 2019
    Configuration menu
    Copy the full SHA
    b78a01a View commit details
    Browse the repository at this point in the history