postgresql/src/test
Stephen Frost b2678efd43 psql: Add \gx command
It can often be useful to use expanded mode output (\x) for just a
single query.  Introduce a \gx which acts exactly like \g except that it
will force expanded output mode for that one \gx call.  This is simpler
than having to use \x as a toggle and also means that the user doesn't
have to worry about the current state of the expanded variable, or
resetting it later, to ensure a given query is always returned in
expanded mode.

Primairly Christoph's patch, though I did tweak the documentation and help
text a bit, and re-indented the tab completion section.

Author: Christoph Berg
Reviewed By: Daniel Verite
Discussion: https://postgr.es/m/20170127132737.6skslelaf4txs6iw%40msg.credativ.de
2017-03-07 09:31:52 -05:00
..
examples Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
isolation Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
locale Use 'use strict' in all Perl programs 2017-01-05 12:34:48 -05:00
mb Revert "Fix broken multibyte regression tests." 2016-01-26 08:29:15 +09:00
modules Remove deprecated COMMENT ON RULE syntax 2017-02-23 08:19:52 -05:00
perl Fix timeouts in PostgresNode::psql 2017-03-01 14:18:51 -05:00
recovery TAP tests for target_session_attrs connection parameter. 2017-02-26 23:41:23 +05:30
regress psql: Add \gx command 2017-03-07 09:31:52 -05:00
ssl Fix typos in comments. 2017-02-06 11:33:58 +02:00
subscription Fix parsing of DROP SUBSCRIPTION ... DROP SLOT 2017-03-03 23:29:13 -05:00
thread Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile Logical replication 2017-01-20 09:04:49 -05:00
README Mention logical replication tests in src/test/README. 2017-01-24 12:57:25 +09:00

PostgreSQL tests
================

This directory contains a variety of test infrastructure as well as some of the
tests in PostgreSQL. Not all tests are here -- in particular, there are more in
individual contrib/ modules and in src/bin.

Not all these tests get run by "make check". Check src/test/Makefile to see
which tests get run automatically.

examples/
  Demonstration programs for libpq that double as regression tests via
  "make check"

isolation/
  Tests for concurrent behavior at the SQL level

locale/
  Sanity checks for locale data, encodings, etc

mb/
  Tests for multibyte encoding (UTF-8) support

modules/
  Extensions used only or mainly for test purposes, generally not suitable
  for installing in production databases

perl/
  Infrastructure for Perl-based TAP tests

recovery/
  Test suite for recovery and replication

regress/
  PostgreSQL's main regression test suite, pg_regress

ssl/
  Tests to exercise and verify SSL certificate handling

subscription/
  Tests for logical replication

thread/
  A thread-safety-testing utility used by configure