forked from postgres/postgres
-
Notifications
You must be signed in to change notification settings - Fork 10
Tdrz/ccoderefactoring #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
6255cdf
some cleanup
97dbb55
do not run ./configure if not needed; specify portname in clean script
tdrz bd5acf4
cleanup
tdrz 52b61d8
Merge branch 'REL_17_5_WASM-pglite-builder' into tdrz/ccoderefactoring
tdrz 7e4257c
remove startup_hacks
tdrz 1743988
readd initdb requirements
tdrz 09a5666
add linker search path for backend
tdrz c570404
remove get_buffer_size and get_buffer_addr"
tdrz 8f1bad6
remove recv_password_packet in interactive_one
tdrz bb1befd
removed pglite-modpython.c; removed __PYDK__
tdrz 068679e
remove specifing MIN_SAFARI_VERSION since that is the default value a…
tdrz ee194e6
moved some of the emscripten flags to bash script to allow a native b…
tdrz e57f54c
docker run under current user
tdrz bc1a2c8
improved cleanup
tdrz 7c73e9c
readd recv_password_packet to interactive_one.c
tdrz 58724c5
remove -it when running docker
tdrz b4b9af3
script fix
tdrz 433ce1e
fix build-with-docker.sh script for GH actions; cleanup target for ex…
tdrz 4b7eafe
fix
tdrz dd474bc
cb data transport
tdrz 6cf2d5f
cleanup
tdrz fd02949
nothing
tdrz 3df81f3
more cleanup
tdrz a4013b5
cleanup is_repl and others
tdrz d512ff5
sort included imports
tdrz 5452dfc
add a pq_flush() at the end of interactive_one(). this is needed beca…
tdrz e6ac5c2
more cleanup
tdrz 8f14aca
remove repl.html
tdrz da47168
more cleanup
tdrz d7e7832
:)
tdrz b570638
remove things not working
tdrz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,23 @@ | ||
| # although we could use any path inside docker, using the same path as on the host | ||
| # allows the DWARF info (when building in DEBUG) to contain the correct file paths | ||
| DOCKER_WORKSPACE=$(pwd) | ||
| GITHUB_ACTIONS=${GITHUB_ACTIONS:-"false"} | ||
| ADDITIONAL_DOCKER_PARAMS="" | ||
| if [ "$GITHUB_ACTIONS" = "true" ]; then | ||
| echo "Running inside GitHub Actions" | ||
| ADDITIONAL_DOCKER_PARAMS="" | ||
| else | ||
| echo "Not running inside GitHub Actions" | ||
| ADDITIONAL_DOCKER_PARAMS="-it -u $(id -u):$(id -g)" | ||
| fi | ||
|
|
||
| docker run $@ \ | ||
| $ADDITIONAL_DOCKER_PARAMS \ | ||
| --rm \ | ||
| -e DEBUG=${DEBUG:-false} \ | ||
| --workdir=${DOCKER_WORKSPACE} \ | ||
| -v .:${DOCKER_WORKSPACE}:rw \ | ||
| -v ./dist:/install/pglite:rw \ | ||
| electricsql/pglite-builder:3.1.74_1 \ | ||
| electricsql/pglite-builder:3.1.74_2 \ | ||
| ./build-pglite.sh | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,10 @@ | ||
| #!/bin/bash | ||
|
|
||
| emmake make -C src/backend uninstall; emmake make -C src/backend clean; | ||
| emmake make -C pglite/ clean; emmake make -C pglite/ uninstall; | ||
| emmake make -C contrib/ clean; emmake make -C contrib/ uninstall; emmake make -C pglite clean; emmake make -C pglite uninstall; | ||
| emmake make clean; emmake make uninstal | ||
| emmake make PORTNAME=emscripten -C src/backend uninstall; emmake make PORTNAME=emscripten -C src/backend clean; | ||
| emmake make PORTNAME=emscripten -C pglite/ clean; emmake make PORTNAME=emscripten -C pglite/ uninstall; | ||
| emmake make PORTNAME=emscripten -C contrib/ clean; emmake make PORTNAME=emscripten -C contrib/ uninstall; | ||
| emmake make PORTNAME=emscripten -C pglite clean; emmake make PORTNAME=emscripten -C pglite uninstall; | ||
| emmake make PORTNAME=emscripten clean; emmake make PORTNAME=emscripten uninstall; | ||
|
|
||
| echo "removing config.status" | ||
| rm config.status |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| PGlite is the best! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.