Skip to content

Commit

Permalink
Merge pull request #1123 from apache/dev-postgresql
Browse files Browse the repository at this point in the history
Dev postgresql
  • Loading branch information
chrishkchris authored Nov 5, 2023
2 parents 059a96b + bc3a415 commit ba51f34
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ docker exec -it trails-singa bash
# 2. Clone the code
cd ~
git clone https://github.com/apache/singa.git
cd singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/
cd singa/
git fetch origin singa-ms:singa-ms
git checkout singa-ms
cd examples/model_selection/TRAILS-Database-Native-Model-Selection/
# 3. Export PYTHONPATH
export PYTHONPATH=$PYTHONPATH:./internal/ml/model_selection
# 4. Start the RDBMS and then exit
Expand Down Expand Up @@ -118,6 +121,7 @@ CREATE EXTENSION pg_extension;
```

If the above fails, open another terminal and go into the docker via docker exec -it trails-singa bash

Then run the following
```bash
rm /home/postgres/.pgrx/14.9/pgrx-install/share/extension/pg_extension--0.1.0.sql
Expand Down

0 comments on commit ba51f34

Please sign in to comment.