Alek Westover
b402dfd9c7
added support for private libraries. refactored library downloading function to be more efficient by using a hashmap and to reduce code duplication
2023-06-27 16:56:11 -04:00
Alek Westover
5e882d8359
use test bucket for test extensions
2023-06-27 14:50:47 -04:00
Anastasia Lubennikova
ebe503e6f8
Test cleanup
2023-06-27 16:46:03 +03:00
Anastasia Lubennikova
7357b7cad5
Code cleanup
2023-06-27 15:29:33 +03:00
Alek Westover
a2e154f07b
real s3 and tenant specific files
2023-06-26 15:25:20 -04:00
Anastasia Lubennikova
85d02acdb4
Merge branch 'main' into extension_server
2023-06-26 20:46:53 +03:00
Anastasia Lubennikova
5f986875bf
WIP debug shared_libs
2023-06-26 20:15:38 +03:00
Anastasia Lubennikova
1104de0b9b
refactoring
...
- enable CREATE EXTENSION and LOAD test
- change test_file_download to use mock_s3
- some code cleanup
- add caching of extensions_list
- WIP downloading of shared_preload_libraries (not tested yet)
2023-06-26 18:54:38 +03:00
Sasha Krassovsky
c215389f1c
quote_ident identifiers when creating neon_superuser ( #4562 )
...
## Problem
2023-06-24 10:34:15 +03:00
Sasha Krassovsky
b1477b4448
Create neon_superuser role, grant it to roles created from control plane ( #4425 )
...
## Problem
Currently, if a user creates a role, it won't by default have any grants
applied to it. If the compute restarts, the grants get applied. This
gives a very strange UX of being able to drop roles/not have any access
to anything at first, and then once something triggers a config
application, suddenly grants are applied. This removes these grants.
2023-06-24 01:38:27 +03:00
Alek Westover
a8f848b5de
test reals3
2023-06-23 15:51:49 -04:00
Alek Westover
ca59330df8
modify file names
2023-06-23 15:28:30 -04:00
Alek Westover
36bb5ad527
refactor
2023-06-23 14:47:48 -04:00
Alek Westover
8bc128e474
real s3 tests
2023-06-23 13:41:08 -04:00
Alek Westover
c3994541eb
add real s3 tests
2023-06-23 13:26:28 -04:00
Anastasia Lubennikova
7cdcc8a500
Fix downloading of sql files for extension and libraries.
...
Rust code refactoring and C code fixes.
Add test for CREATE EXTENSION and LOAD 'library'
2023-06-23 20:25:14 +03:00
Alek Westover
4201f4695f
fix typo
2023-06-23 10:03:41 -04:00
Alek Westover
5776df15da
try to add library extensions
2023-06-23 09:33:59 -04:00
Alek Westover
31aa0283b0
More Extension Features ( #4555 )
...
Added tenant specific extensions and more tests
2023-06-23 09:30:49 -04:00
Alek Westover
fd3dfe9d52
fix typo
2023-06-23 08:04:37 -04:00
Alek Westover
9c35c06c58
small refactor
2023-06-22 14:24:59 -04:00
Alek Westover
3d0f74fc0c
fixing paths
2023-06-22 13:47:47 -04:00
Alek Westover
44ac7a45be
Merge branch 'main' into extension_server
2023-06-22 10:30:19 -04:00
Alek Westover
a79b0d69c4
made remote_ext_config an optional parameter
2023-06-22 10:21:07 -04:00
Anastasia Lubennikova
2f618f46be
Use BUILD_TAG in compute_ctl binary. ( #4541 )
...
Pass BUILD_TAG to compute_ctl binary.
We need it to access versioned extension storage.
2023-06-22 17:06:16 +03:00
Alek Westover
bf3b83b504
fix code style for clippy
2023-06-22 09:37:07 -04:00
Alek Westover
94781e8710
remote useless return
2023-06-21 17:26:20 -04:00
Alek Westover
4b83a206bf
download extension from rust works
2023-06-21 17:22:21 -04:00
Alek Westover
f984f9e7d3
seems close to working
2023-06-21 15:25:06 -04:00
Alek Westover
605c30e5c5
fixed an issue where pgconfig was pointing at global installation of postgres rather than the correct local version
2023-06-21 14:34:24 -04:00
Alek Westover
0b11d8e836
replaced download_files function with more appropriate download_extensions function
2023-06-21 14:01:44 -04:00
Alek Westover
89b8ea132e
refactor more
2023-06-21 11:39:24 -04:00
Alek Westover
bfbae98f24
refactor
2023-06-21 11:32:44 -04:00
Alek Westover
02a1d4d8c1
refactoring a bit
2023-06-21 11:32:04 -04:00
Alek Westover
559e318328
remote dead imports
2023-06-21 11:01:45 -04:00
Alek Westover
8b9f72e117
removing debugging
2023-06-21 10:51:35 -04:00
Alek Westover
bb414e5a0a
removing debugging
2023-06-21 10:45:37 -04:00
Alek Westover
32c03bc784
cleaning up some comments
2023-06-21 10:32:28 -04:00
Alek Westover
c99e203094
I think it's working
2023-06-21 10:10:02 -04:00
Alek Westover
e7b9259675
more debugging, didn't find the problem
2023-06-20 22:48:43 -04:00
Alek Westover
356f7d3a7e
more debugging
2023-06-20 22:39:02 -04:00
Alek Westover
0f6b05337e
fixed minor issue with merge
2023-06-20 22:08:07 -04:00
Alek Westover
e6137d45d2
Merge branch 'main' into extension_server
2023-06-20 21:36:15 -04:00
Alek Westover
5e96ab43ea
more debugginh
2023-06-20 20:02:24 -04:00
Alek Westover
890061d371
arg passing is mostly working
2023-06-20 19:35:13 -04:00
Alek Westover
6b74d1a76a
partils
2023-06-19 15:25:53 -04:00
Alek Westover
a936b8a92b
add ext cli args
2023-06-16 17:05:39 -04:00
Alek Westover
c7bea52849
adding command line argument
2023-06-16 16:58:13 -04:00
Alek Westover
15d3d007eb
added several imports so that extension_server compiles
2023-06-16 16:09:02 -04:00
Alek Westover
214ecacfc4
clippy
2023-06-15 10:20:01 -04:00