v9-4-row-level-security (patch 1 of 1)

'git apply --summary --stat --apply --verbose' output was:

 doc/src/sgml/catalogs.sgml                 |   65 ++
 doc/src/sgml/ref/alter_table.sgml          |   43 +
 doc/src/sgml/user-manag.sgml               |  145 ++++
 src/backend/catalog/Makefile               |    4
 src/backend/catalog/dependency.c           |    8
 src/backend/catalog/heap.c                 |    1
 src/backend/catalog/objectaddress.c        |   50 +
 src/backend/catalog/pg_rowsecurity.c       |  337 ++++++++++
 src/backend/commands/copy.c                |   90 +++
 src/backend/commands/event_trigger.c       |    1
 src/backend/commands/tablecmds.c           |   27 +
 src/backend/nodes/copyfuncs.c              |    3
 src/backend/nodes/equalfuncs.c             |    3
 src/backend/nodes/nodeFuncs.c              |   12
 src/backend/nodes/outfuncs.c               |    3
 src/backend/nodes/readfuncs.c              |    2
 src/backend/optimizer/plan/planner.c       |   23 +
 src/backend/optimizer/prep/preptlist.c     |   61 ++
 src/backend/optimizer/prep/prepunion.c     |   95 +++
 src/backend/optimizer/util/Makefile        |    2
 src/backend/optimizer/util/rowsecurity.c   |  733 ++++++++++++++++++++++
 src/backend/parser/gram.y                  |   25 +
 src/backend/parser/parse_agg.c             |    6
 src/backend/parser/parse_expr.c            |    3
 src/backend/parser/parse_relation.c        |   19 +
 src/backend/rewrite/rewriteHandler.c       |   16
 src/backend/utils/adt/ri_triggers.c        |   13
 src/backend/utils/cache/plancache.c        |   32 +
 src/backend/utils/cache/relcache.c         |   17 -
 src/bin/pg_dump/common.c                   |    4
 src/bin/pg_dump/pg_backup_archiver.c       |    1
 src/bin/pg_dump/pg_dump.c                  |  186 +++++
 src/bin/pg_dump/pg_dump.h                  |   13
 src/bin/pg_dump/pg_dump_sort.c             |    5
 src/bin/psql/describe.c                    |    7
 src/include/catalog/dependency.h           |    1
 src/include/catalog/indexing.h             |    5
 src/include/catalog/pg_class.h             |   24 -
 src/include/catalog/pg_rowsecurity.h       |   76 ++
 src/include/miscadmin.h                    |    1
 src/include/nodes/execnodes.h              |    4
 src/include/nodes/nodeFuncs.h              |    1
 src/include/nodes/parsenodes.h             |   14
 src/include/nodes/plannodes.h              |    2
 src/include/nodes/relation.h               |    6
 src/include/optimizer/rowsecurity.h        |   27 +
 src/include/parser/parse_node.h            |    3
 src/include/parser/parsetree.h             |    5
 src/include/rewrite/rewriteHandler.h       |    1
 src/include/utils/plancache.h              |    2
 src/include/utils/rel.h                    |    2
 src/test/regress/expected/rowsecurity.out  |  950 ++++++++++++++++++++++++++++
 src/test/regress/expected/sanity_check.out |    3
 src/test/regress/parallel_schedule         |    2
 src/test/regress/serial_schedule           |    1
 src/test/regress/sql/rowsecurity.sql       |  298 +++++++++
 56 files changed, 3440 insertions(+), 43 deletions(-)
 create mode 100644 src/backend/catalog/pg_rowsecurity.c
 create mode 100644 src/backend/optimizer/util/rowsecurity.c
 create mode 100644 src/include/catalog/pg_rowsecurity.h
 create mode 100644 src/include/optimizer/rowsecurity.h
 create mode 100644 src/test/regress/expected/rowsecurity.out
 create mode 100644 src/test/regress/sql/rowsecurity.sql

For original context, see http://www.postgresql.org/message-id/CADyhKSXFzQBXQoNwiKdN9xxoVw7Zqz9gmF64Sry57QKduSFwSQ@mail.gmail.com
Adding travis.yml