Advertisement
georgesebastian

To DB Admins @ Stack Exchange

Jun 20th, 2014
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --
  2. -- PostgreSQL database dump
  3. --
  4.  
  5. SET statement_timeout = 0;
  6. SET lock_timeout = 0;
  7. SET client_encoding = 'UTF8';
  8. SET standard_conforming_strings = on;
  9. SET check_function_bodies = false;
  10. SET client_min_messages = warning;
  11.  
  12. SET search_path = public, pg_catalog;
  13.  
  14. SET default_tablespace = '';
  15.  
  16. SET default_with_oids = false;
  17.  
  18. --
  19. -- Name: points; Type: TABLE; Schema: public; Owner: webadmin; Tablespace:
  20. --
  21.  
  22. CREATE TABLE points (
  23.     id bigint NOT NULL,
  24.     route character(10),
  25.     latitude double precision,
  26.     longitude double precision
  27. );
  28.  
  29.  
  30. ALTER TABLE public.points OWNER TO webadmin;
  31.  
  32. --
  33. -- Name: points_id_seq; Type: SEQUENCE; Schema: public; Owner: webadmin
  34. --
  35.  
  36. CREATE SEQUENCE points_id_seq
  37.     START WITH 1
  38.     INCREMENT BY 1
  39.     NO MINVALUE
  40.     NO MAXVALUE
  41.     CACHE 1;
  42.  
  43.  
  44. ALTER TABLE public.points_id_seq OWNER TO webadmin;
  45.  
  46. --
  47. -- Name: points_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: webadmin
  48. --
  49.  
  50. ALTER SEQUENCE points_id_seq OWNED BY points.id;
  51.  
  52.  
  53. --
  54. -- Name: id; Type: DEFAULT; Schema: public; Owner: webadmin
  55. --
  56.  
  57. ALTER TABLE ONLY points ALTER COLUMN id SET DEFAULT nextval('points_id_seq'::regclass);
  58.  
  59.  
  60. --
  61. -- Data for Name: points; Type: TABLE DATA; Schema: public; Owner: webadmin
  62. --
  63.  
  64. COPY points (id, route, latitude, longitude) FROM stdin;
  65. 1   route 1     11.9038400000000006 75.4211099999999988
  66. 2   route 1     11.9034399999999998 75.4208500000000015
  67. 3   route 1     11.90245    75.4201599999999956
  68.  
  69. --The rest of it is redacted data but it is of the same format and goes on for 1734 rows... seesharp
  70. --
  71. --
  72. 1733    route99     12.9554299999999998 77.6985700000000037
  73. 1734    route99     12.9554600000000004 77.6983800000000002
  74. \.
  75.  
  76.  
  77. --
  78. -- Name: points_id_seq; Type: SEQUENCE SET; Schema: public; Owner: webadmin
  79. --
  80.  
  81. SELECT pg_catalog.setval('points_id_seq', 1734, true);
  82.  
  83.  
  84. --
  85. -- Data for Name: spatial_ref_sys; Type: TABLE DATA; Schema: public; Owner: webadmin
  86. --
  87.  
  88. COPY spatial_ref_sys (srid, auth_name, auth_srid, srtext, proj4text) FROM stdin;
  89. \.
  90.  
  91.  
  92. --
  93. -- Name: points_pkey; Type: CONSTRAINT; Schema: public; Owner: webadmin; Tablespace:
  94. --
  95.  
  96. ALTER TABLE ONLY points
  97.     ADD CONSTRAINT points_pkey PRIMARY KEY (id);
  98.  
  99.  
  100. --
  101. -- Name: public; Type: ACL; Schema: -; Owner: postgres
  102. --
  103.  
  104. REVOKE ALL ON SCHEMA public FROM PUBLIC;
  105. REVOKE ALL ON SCHEMA public FROM postgres;
  106. GRANT ALL ON SCHEMA public TO postgres;
  107. GRANT ALL ON SCHEMA public TO PUBLIC;
  108.  
  109.  
  110. --
  111. -- PostgreSQL database dump complete
  112. --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement