Project

General

Profile

« Previous | Next » 

Revision 2620

schemas/Makefile, py_functions.sql.make: Generate py_functions.sql from vegbien's py_functions schema

View differences:

schemas/py_functions.sql.make
1
#!/bin/sh
2
# Creates py_functions.sql by dumping vegbien's py_functions schema
3

  
4
selfDir="$(dirname -- "$0")"
5

  
6
"$selfDir/../bin/pg_dump_vegbien" py_functions
0 7

  
schemas/Makefile
7 7

  
8 8
##### General targets
9 9

  
10
all = vegbien.sql vegbien_empty.sql vegbien.my.sql functions.sql
10
all = vegbien.sql vegbien_empty.sql vegbien.my.sql functions.sql\
11
py_functions.sql
11 12

  
12 13
all: _always $(all) ;
13 14

  
schemas/py_functions.sql
1
--
2
-- PostgreSQL database dump
3
--
4

  
5
SET statement_timeout = 0;
6
SET client_encoding = 'UTF8';
7
SET standard_conforming_strings = off;
8
SET check_function_bodies = false;
9
SET client_min_messages = warning;
10
SET escape_string_warning = off;
11

  
12
--
13
-- Name: py_functions; Type: SCHEMA; Schema: -; Owner: -
14
--
15

  
16
CREATE SCHEMA py_functions;
17

  
18

  
19
--
20
-- PostgreSQL database dump complete
21
--
22

  

Also available in: Unified diff