1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-14 11:36:18 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
Joel Martin
a821cd7204 Fix unescaping in c, coffee, crystal, haxe, plpgsql and r. 2017-09-28 07:40:47 -05:00
Joel Martin
74771ea2a9 plpgsql: support Travis run with alt. user
Seems that Travis sometimes runs with a user other than 1001 so add
user ID 2000 as well.
2017-07-25 11:13:13 -05:00
Joel Martin
b88bb764ff *sql: update Makefiles, README. Logon override. 2016-05-22 00:18:25 -06:00
Joel Martin
20e8dea043 Refactor to use run scripts, remove *_RUNSTEP
- Add */run script for every implementation.

- Refactor Clojure build to allow individual jar files for each step.

- Update FFI version for es6 and miniMAL to work with newer node
  versions.

The run scripts for the following could use some additional
refactoring:
- java: build individual step jar, use java -jar instead of mvn to run
- plpgsql: maybe combine plpgsql/run and plpgsql/wrap.sh
- vhdl: combine vhdl/run and vhdl/run_vhdl.sh
- vimscript: combine vimscript/run and vimscript/run_vimscript.sh
2016-05-18 22:29:18 -07:00
Joel Martin
53a418e455 plpgsql: fix env.sql envs.sql in stats target. 2016-05-03 12:21:57 -05:00
Joel Martin
85ccb9eb44 plpgsql: fix Makefile stats targets. 2016-05-03 12:19:49 -05:00
Joel Martin
494792abe4 plpgsql: schema namespaces. refactor IO.
- move each file to a schema namespace. Don't recreate DB, just the
  schemas. This is much faster and avoids the error about user still
  using the DB when recreating the DB.
- combine RUN and MAIN_LOOP into MAIN routine.
- add open column to streams table
- close stream 1 in MAIN
2016-05-02 23:37:16 -05:00
Joel Martin
fa52cda6f7 plpgsql: another attempt using travis user. 2016-05-02 23:37:16 -05:00
Joel Martin
67cc8a15a2 plpgsql: try again with Travis user/sudo permissions.
This time sudo inside the entrypoint only for starting postgres
service.
2016-05-02 23:37:16 -05:00
Joel Martin
68e4df99aa plpgsql: set WORKDIR in Dockerfile. 2016-05-02 23:37:16 -05:00
Joel Martin
7d93e81246 plpgsql: minor tweaks to Dockerfile to work with Travis.
Travis runs as user 1001, make that a user in the container too and
use sudo to launch the entrypoint as the postgres user.
2016-05-02 23:37:16 -05:00
Joel Martin
08e44c41d6 plpgsql: testing via Makefile/Docker container.
- Add Dockerfile for an image with postgres installed that
  automatically starts the server when the docker image is started.
- Fix Unicode issue with keywords that caused "requested character too
  large for encoding: 670" when used with rebuilt docker image.
  Switched from 0x29e (670) to 0x7f (127) as the keyword string
  prefix.
- Add default PSQL user as "postgres" in wrap.sh
2016-05-02 23:37:16 -05:00
Joel Martin
df4c2c1a7d plpgsql: fix issues with repeated calls to wrap.sh 2016-05-02 23:37:16 -05:00
Joel Martin
4facce82c4 plpgsql: remove type table. Fix slurp.
- Use COPY FROM PROGRAM to invoke sed to double backslashes before
  reading into the table.
2016-05-02 23:37:16 -05:00
Joel Martin
b642c0db34 plpgsql: refactor/remove collection table. Add seq/conj. 2016-05-02 23:37:16 -05:00
Joel Martin
767d735da5 plpgsql: add time-ms, use bigints, add indexes for perf. 2016-05-02 23:37:16 -05:00
Joel Martin
8e266c1805 plpgsql: restructure I/O to allow input in command mode. 2016-05-02 23:37:16 -05:00
Joel Martin
97c0256db7 plpgsql: stepA, hash-maps, metadata. 2016-05-02 23:37:16 -05:00
Joel Martin
53105a7728 plpgsql: IO using stream table. Add keywords. 2016-05-02 23:37:16 -05:00
Joel Martin
b29f08ad80 plpgsql: add steps7-9 2016-05-02 23:37:15 -05:00
Joel Martin
5340418b47 plpgsql: steps 4-6. 2016-05-02 23:37:15 -05:00
Joel Martin
adc5b4fb54 plpgsql (Postgres PL/pgSQL): steps 0-3. 2016-05-02 23:37:15 -05:00