Reduce verbosity to remove line nums from output.

This commit is contained in:
Rob Kiefer 2017-03-02 13:09:33 -05:00
parent d1af4cfab0
commit 5478231f3e
16 changed files with 93 additions and 65 deletions

View File

@ -2,24 +2,24 @@
\set VERBOSITY verbose \set VERBOSITY verbose
\set SHOW_CONTEXT never \set SHOW_CONTEXT never
\ir include/create_single_db.sql \ir include/create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
LOCATION: CreateExtensionInternal, extension.c:1441 psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
setup_single_node setup_single_node
------------------- -------------------
(1 row) (1 row)
\set VERBOSITY verbose
\set ECHO ALL \set ECHO ALL
\c single \c single
create schema test_schema; create schema test_schema;

View File

@ -3,19 +3,19 @@
\set SHOW_CONTEXT never \set SHOW_CONTEXT never
\o /dev/null \o /dev/null
\ir include/create_single_db.sql \ir include/create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
LOCATION: CreateExtensionInternal, extension.c:1441 psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\o \o
\set ECHO ALL \set ECHO ALL
\ir include/ddl_ops_1.sql \ir include/ddl_ops_1.sql

View File

@ -3,19 +3,19 @@
\set SHOW_CONTEXT never \set SHOW_CONTEXT never
\o /dev/null \o /dev/null
\ir include/create_single_db.sql \ir include/create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
LOCATION: CreateExtensionInternal, extension.c:1441 psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\o \o
\set ECHO ALL \set ECHO ALL
\c single \c single

View File

@ -3,19 +3,19 @@
\set SHOW_CONTEXT never \set SHOW_CONTEXT never
\o /dev/null \o /dev/null
\ir include/create_single_db.sql \ir include/create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
LOCATION: CreateExtensionInternal, extension.c:1441 psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\o \o
\set ECHO ALL \set ECHO ALL
\c single \c single

View File

@ -3,16 +3,19 @@
\ir include/insert_two_partitions.sql \ir include/insert_two_partitions.sql
\set ON_ERROR_STOP 1 \set ON_ERROR_STOP 1
\ir create_single_db.sql \ir create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "hstore" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\c single \c single
CREATE TABLE PUBLIC."testNs" ( CREATE TABLE PUBLIC."testNs" (
"timeCustom" BIGINT NOT NULL, "timeCustom" BIGINT NOT NULL,

View File

@ -3,19 +3,19 @@
\set SHOW_CONTEXT never \set SHOW_CONTEXT never
\o /dev/null \o /dev/null
\ir include/create_single_db.sql \ir include/create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
LOCATION: CreateExtensionInternal, extension.c:1441 psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\o \o
\set ECHO ALL \set ECHO ALL
\c single \c single

View File

@ -3,21 +3,24 @@
\ir include/insert_two_partitions.sql \ir include/insert_two_partitions.sql
\set ON_ERROR_STOP 1 \set ON_ERROR_STOP 1
\ir create_single_db.sql \ir create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "hstore" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
setup_single_node setup_single_node
------------------- -------------------
(1 row) (1 row)
\set VERBOSITY verbose
\c single \c single
CREATE TABLE PUBLIC."testNs" ( CREATE TABLE PUBLIC."testNs" (
"timeCustom" BIGINT NOT NULL, "timeCustom" BIGINT NOT NULL,

View File

@ -3,21 +3,24 @@
\ir include/insert_single.sql \ir include/insert_single.sql
\set ON_ERROR_STOP 1 \set ON_ERROR_STOP 1
\ir create_single_db.sql \ir create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "hstore" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
setup_single_node setup_single_node
------------------- -------------------
(1 row) (1 row)
\set VERBOSITY verbose
\c single \c single
\set ECHO ALL \set ECHO ALL
CREATE TABLE PUBLIC."testNs" ( CREATE TABLE PUBLIC."testNs" (

View File

@ -5,19 +5,19 @@
\ir include/insert_two_partitions.sql \ir include/insert_two_partitions.sql
\set ON_ERROR_STOP 1 \set ON_ERROR_STOP 1
\ir create_single_db.sql \ir create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
LOCATION: CreateExtensionInternal, extension.c:1441 psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
psql:include/create_single_db.sql:7: NOTICE: 00000: installing required extension "hstore"
LOCATION: CreateExtensionInternal, extension.c:1441
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\c single \c single
CREATE TABLE PUBLIC."testNs" ( CREATE TABLE PUBLIC."testNs" (
"timeCustom" BIGINT NOT NULL, "timeCustom" BIGINT NOT NULL,

View File

@ -3,16 +3,19 @@
\ir include/insert_single.sql \ir include/insert_single.sql
\set ON_ERROR_STOP 1 \set ON_ERROR_STOP 1
\ir create_single_db.sql \ir create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "hstore" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\c single \c single
\set ECHO ALL \set ECHO ALL
CREATE TABLE PUBLIC."testNs" ( CREATE TABLE PUBLIC."testNs" (

View File

@ -1,21 +1,24 @@
\set ON_ERROR_STOP 1 \set ON_ERROR_STOP 1
\set SHOW_CONTEXT never \set SHOW_CONTEXT never
\ir include/create_single_db.sql \ir include/create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "hstore" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
setup_single_node setup_single_node
------------------- -------------------
(1 row) (1 row)
\set VERBOSITY verbose
\set ECHO ALL \set ECHO ALL
\c single \c single
\set ON_ERROR_STOP 0 \set ON_ERROR_STOP 0
@ -90,11 +93,12 @@ Child tables: _copy_temp_1,
_iobeamdb_internal._hyper_1_0_replica _iobeamdb_internal._hyper_1_0_replica
--cleanup --cleanup
\set VERBOSITY normal
unrecognized value "normal" for "VERBOSITY"; assuming "default"
drop table test_tspace; drop table test_tspace;
NOTICE: 00000: drop cascades to 4 other objects NOTICE: drop cascades to 4 other objects
DETAIL: drop cascades to table _iobeamdb_internal._hyper_1_0_replica DETAIL: drop cascades to table _iobeamdb_internal._hyper_1_0_replica
drop cascades to table _iobeamdb_internal._hyper_1_1_0_partition drop cascades to table _iobeamdb_internal._hyper_1_1_0_partition
drop cascades to table _iobeamdb_internal._hyper_1_1_0_1_data drop cascades to table _iobeamdb_internal._hyper_1_1_0_1_data
drop cascades to table _copy_temp_1 drop cascades to table _copy_temp_1
LOCATION: reportDependentObjects, dependency.c:1011
drop tablespace tspace1; drop tablespace tspace1;

View File

@ -1,16 +1,19 @@
\set ON_ERROR_STOP 1 \set ON_ERROR_STOP 1
\o /dev/null \o /dev/null
\ir include/create_single_db.sql \ir include/create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "hstore" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\o \o
\set ECHO ALL \set ECHO ALL
\c single \c single
@ -229,6 +232,8 @@ SELECT _iobeamdb_internal.to_timestamp(-210866803200000000);
Mon Nov 24 00:00:00 4714 UTC BC Mon Nov 24 00:00:00 4714 UTC BC
(1 row) (1 row)
\set VERBOSITY normal
unrecognized value "normal" for "VERBOSITY"; assuming "default"
-- Going beyond Julian day zero should give out-of-range error -- Going beyond Julian day zero should give out-of-range error
SELECT _iobeamdb_internal.to_timestamp(-210866803200000001); SELECT _iobeamdb_internal.to_timestamp(-210866803200000001);
ERROR: timestamp out of range ERROR: timestamp out of range

View File

@ -3,16 +3,19 @@
\ir include/insert_single.sql \ir include/insert_single.sql
\set ON_ERROR_STOP 1 \set ON_ERROR_STOP 1
\ir create_single_db.sql \ir create_single_db.sql
\set VERBOSITY normal
psql:include/create_single_db.sql:1: unrecognized value "normal" for "VERBOSITY"; assuming "default"
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
CREATE DATABASE single; CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
psql:include/create_single_db.sql:7: NOTICE: installing required extension "dblink" psql:include/create_single_db.sql:8: NOTICE: installing required extension "dblink"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "postgres_fdw" psql:include/create_single_db.sql:8: NOTICE: installing required extension "postgres_fdw"
psql:include/create_single_db.sql:7: NOTICE: installing required extension "hstore" psql:include/create_single_db.sql:8: NOTICE: installing required extension "hstore"
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose
\c single \c single
\set ECHO ALL \set ECHO ALL
CREATE TABLE PUBLIC."testNs" ( CREATE TABLE PUBLIC."testNs" (

View File

@ -1,3 +1,4 @@
\set VERBOSITY normal
SET client_min_messages = WARNING; SET client_min_messages = WARNING;
DROP DATABASE IF EXISTS single; DROP DATABASE IF EXISTS single;
SET client_min_messages = NOTICE; SET client_min_messages = NOTICE;
@ -6,3 +7,4 @@ CREATE DATABASE single;
\c single \c single
CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE; CREATE EXTENSION IF NOT EXISTS iobeamdb CASCADE;
SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection SELECT setup_single_node(hostname => 'fakehost'); -- fakehost makes sure there is no network connection
\set VERBOSITY verbose

View File

@ -28,5 +28,6 @@ insert into test_tspace values ('2017-01-20T09:00:02', 22.3, 'dev7');
\d+ _iobeamdb_internal.* \d+ _iobeamdb_internal.*
--cleanup --cleanup
\set VERBOSITY normal
drop table test_tspace; drop table test_tspace;
drop tablespace tspace1; drop tablespace tspace1;

View File

@ -128,6 +128,7 @@ SELECT _iobeamdb_internal.to_timestamp(9223372036854775807);
-- Julian day zero is -210866803200000000 microseconds from UNIX epoch -- Julian day zero is -210866803200000000 microseconds from UNIX epoch
SELECT _iobeamdb_internal.to_timestamp(-210866803200000000); SELECT _iobeamdb_internal.to_timestamp(-210866803200000000);
\set VERBOSITY normal
-- Going beyond Julian day zero should give out-of-range error -- Going beyond Julian day zero should give out-of-range error
SELECT _iobeamdb_internal.to_timestamp(-210866803200000001); SELECT _iobeamdb_internal.to_timestamp(-210866803200000001);