21.05.2014 Views

Unit Test Your Database! - PGCon

Unit Test Your Database! - PGCon

Unit Test Your Database! - PGCon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Deploy Functions<br />

> sqitch deploy -­‐-­‐untracked<br />

Deploying HEAD+ to flipr_test<br />

+ change_pass<br />

+ insert_user<br />

> psql -­‐d flipr_test -­‐c '\df'<br />

List of function<br />

Schema | Name | Result data type |<br />

-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐<br />

public | change_pass | boolean | nick text<br />

public | insert_user | void <br />

| nickname<br />

>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!