-
Notifications
You must be signed in to change notification settings - Fork 0
/
11.atributo_sld_create_table.sql
55 lines (35 loc) · 1.32 KB
/
11.atributo_sld_create_table.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
-- Definición de la tabla atributo_sld, se utiliza para la gestionar las excepciones al traducir cada valor del campo "leyenda" del Catálogo IGN
-- algunos Feature Class necesitan el valor normalizado por el catálogo para poder representar los estilos SLD correctamente.
--
-- PostgreSQL database dump
--
-- Dumped from database version 9.5.7
-- Dumped by pg_dump version 9.6.2
-- Started on 2019-05-02 13:21:18
SET search_path = desnormalizacion, pg_catalog;
SET default_tablespace = '';
--
-- TOC entry 209 (class 1259 OID 880978)
-- Name: atributo_sld; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE atributo_sld (
tabla character varying NOT NULL,
codigo character varying NOT NULL
);
ALTER TABLE atributo_sld OWNER TO postgres;
ALTER TABLE ONLY atributo_sld
ADD CONSTRAINT atributo_sld_pkey PRIMARY KEY (codigo, tabla);
--
-- TOC entry 4625 (class 0 OID 0)
-- Dependencies: 209
-- Name: atributo_sld; Type: ACL; Schema: public; Owner: postgres
--
ALTER TABLE desnormalizacion.atributo_sld
OWNER to postgres;
GRANT ALL ON TABLE desnormalizacion.atributo_sld TO postgres;
GRANT SELECT ON TABLE desnormalizacion.atributo_sld TO readonly WITH GRANT OPTION;
GRANT SELECT ON TABLE desnormalizacion.atributo_sld TO readonly;
-- Completed on 2019-05-02 13:21:18
--
-- PostgreSQL database dump complete
--