Skip to content

Instantly share code, notes, and snippets.

@davidray
Created May 28, 2010 16:23
Show Gist options
  • Save davidray/417373 to your computer and use it in GitHub Desktop.
Save davidray/417373 to your computer and use it in GitHub Desktop.
dave@trisano-sandbox-01:/opt/csi/trisano-dw/warehouse$ psql -Xf warehouse_init.sql -U trisano_su trisano_warehouse
BEGIN
CREATE SCHEMA
ALTER SCHEMA
COMMIT
BEGIN
CREATE SCHEMA
ALTER SCHEMA
COMMIT
BEGIN
CREATE LANGUAGE
COMMIT
BEGIN
SET
CREATE TYPE
psql:warehouse_init.sql:42: NOTICE: return type hstore is only a shell
CREATE FUNCTION
psql:warehouse_init.sql:47: NOTICE: argument type hstore is only a shell
CREATE FUNCTION
CREATE TYPE
CREATE FUNCTION
CREATE OPERATOR
CREATE FUNCTION
CREATE FUNCTION
CREATE OPERATOR
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE OPERATOR
CREATE FUNCTION
CREATE FUNCTION
CREATE OPERATOR
CREATE OPERATOR
CREATE OPERATOR
CREATE OPERATOR
CREATE FUNCTION
CREATE OPERATOR
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE TYPE
psql:warehouse_init.sql:205: NOTICE: return type ghstore is only a shell
CREATE FUNCTION
psql:warehouse_init.sql:210: NOTICE: argument type ghstore is only a shell
CREATE FUNCTION
CREATE TYPE
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:warehouse_init.sql:269: NOTICE: RECHECK is no longer required
LINE 4: OPERATOR 7 @> RECHECK,
^
HINT: Update your data type.
psql:warehouse_init.sql:269: NOTICE: RECHECK is no longer required
LINE 5: ... OPERATOR 9 ?(hstore,text) RECHECK,
^
HINT: Update your data type.
psql:warehouse_init.sql:269: NOTICE: RECHECK is no longer required
LINE 7: OPERATOR 13 @ RECHECK,
^
HINT: Update your data type.
CREATE OPERATOR CLASS
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:warehouse_init.sql:297: NOTICE: RECHECK is no longer required
LINE 4: OPERATOR 7 @> RECHECK,
^
HINT: Update your data type.
CREATE OPERATOR CLASS
COMMIT
BEGIN
CREATE FUNCTION
CREATE AGGREGATE
COMMIT
BEGIN
ALTER SCHEMA
GRANT
GRANT
ALTER ROLE
psql:warehouse_init.sql:315: NOTICE: table "current_schema_name" does not exist, skipping
DROP TABLE
CREATE TABLE
TRUNCATE TABLE
INSERT 0 1
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:warehouse_init.sql:354: NOTICE: table "etl_success" does not exist, skipping
DROP TABLE
CREATE TABLE
INSERT 0 1
psql:warehouse_init.sql:362: NOTICE: table "formbuilder_columns" does not exist, skipping
DROP TABLE
psql:warehouse_init.sql:363: NOTICE: table "formbuilder_tables" does not exist, skipping
DROP TABLE
psql:warehouse_init.sql:370: NOTICE: CREATE TABLE will create implicit sequence "formbuilder_tables_id_seq" for serial column "formbuilder_tables.id"
psql:warehouse_init.sql:370: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "formbuilder_tables_pkey" for table "formbuilder_tables"
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE FUNCTION
CREATE FUNCTION
psql:warehouse_init.sql:461: NOTICE: type "trisano.dp_cust" does not exist, skipping
DROP TYPE
CREATE TYPE
CREATE FUNCTION
CREATE FUNCTION
psql:warehouse_init.sql:479: NOTICE: type "trisano.int_cust" does not exist, skipping
DROP TYPE
CREATE TYPE
CREATE FUNCTION
CREATE FUNCTION
psql:warehouse_init.sql:498: NOTICE: type "trisano.num_cust" does not exist, skipping
DROP TYPE
CREATE TYPE
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:warehouse_init.sql:532: ERROR: could not access file "$libdir/plperl": No such file or directory
CONTEXT: SQL statement "CREATE LANGUAGE plperl"
PL/pgSQL function "addlang" line 4 at EXECUTE statement
psql:warehouse_init.sql:545: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:557: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:570: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:572: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:578: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:580: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:586: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:588: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:594: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:627: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:660: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:693: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:695: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:701: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:703: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:709: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:711: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:717: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:735: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:737: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:743: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:764: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:766: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:773: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:979: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:983: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:989: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1591: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1884: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1887: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1889: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1891: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1896: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1898: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1905: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1907: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1910: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1912: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1914: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1919: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1921: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1928: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1930: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1932: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1984: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1988: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1992: ERROR: current transaction is aborted, commands ignored until end of transaction block
psql:warehouse_init.sql:1994: ERROR: current transaction is aborted, commands ignored until end of transaction block
ROLLBACK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment