annotate db_schema/lada_messprogramm.sql @ 1319:512616ea3228 release-2.5

fix somme test data
author Michael Stanko <mstanko@bfs.de>
date Thu, 23 Mar 2017 09:02:26 +0100
parents
children 739ad8e78fca
rev   line source
1319
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
1 \set ON_ERROR_STOP on
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
2
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
3 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
4 -- PostgreSQL database dump
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
5 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
6
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
7 -- Dumped from database version 9.5.2
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
8 -- Dumped by pg_dump version 9.5.2
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
9
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
10 -- Started on 2016-05-04 09:10:49 CEST
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
11
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
12 SET statement_timeout = 0;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
13 SET lock_timeout = 0;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
14 SET client_encoding = 'UTF8';
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
15 SET standard_conforming_strings = on;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
16 SET check_function_bodies = false;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
17 SET client_min_messages = warning;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
18
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
19 SET search_path = land, pg_catalog;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
20
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
21 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
22 -- TOC entry 4684 (class 0 OID 1170769)
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
23 -- Dependencies: 286
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
24 -- Data for Name: messprogramm; Type: TABLE DATA; Schema: land; Owner: postgres
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
25 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
26
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
27 ALTER TABLE messprogramm DISABLE TRIGGER ALL;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
28
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
29 COPY messprogramm (id, test, mst_id, labor_mst_id, datenbasis_id, ba_id, gem_id, media_desk, mpl_Id, umw_id, probenart_id, probenintervall, teilintervall_von, teilintervall_bis, intervall_offset, gueltig_von, gueltig_bis, probe_nehmer_id, probe_kommentar, letzte_aenderung) FROM stdin;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
30 \.
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
31
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
32
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
33 ALTER TABLE messprogramm ENABLE TRIGGER ALL;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
34
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
35 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
36 -- TOC entry 4701 (class 0 OID 0)
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
37 -- Dependencies: 285
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
38 -- Name: messprogramm_id_seq; Type: SEQUENCE SET; Schema: land; Owner: postgres
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
39 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
40
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
41 SELECT pg_catalog.setval('messprogramm_id_seq', 1, false);
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
42
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
43
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
44 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
45 -- TOC entry 4685 (class 0 OID 1170813)
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
46 -- Dependencies: 287
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
47 -- Data for Name: messprogramm_mmt; Type: TABLE DATA; Schema: land; Owner: postgres
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
48 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
49
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
50 ALTER TABLE messprogramm_mmt DISABLE TRIGGER ALL;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
51
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
52 COPY messprogramm_mmt (id, messprogramm_id, mmt_id, messgroessen, letzte_aenderung) FROM stdin;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
53 \.
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
54
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
55
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
56 ALTER TABLE messprogramm_mmt ENABLE TRIGGER ALL;
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
57
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
58 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
59 -- TOC entry 4702 (class 0 OID 0)
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
60 -- Dependencies: 288
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
61 -- Name: messprogramm_mmt_id_seq; Type: SEQUENCE SET; Schema: land; Owner: postgres
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
62 --
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
63
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
64 SELECT pg_catalog.setval('messprogramm_mmt_id_seq', 1, false);
512616ea3228 fix somme test data
Michael Stanko <mstanko@bfs.de>
parents:
diff changeset
65
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)