mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Add setting to config
This commit is contained in:
parent
15ae912b56
commit
3420cf9142
@ -76,7 +76,7 @@
|
||||
<!-- Compatibility with PostgreSQL protocol.
|
||||
ClickHouse will pretend to be PostgreSQL for applications connecting to this port.
|
||||
-->
|
||||
<!-- <postgresql_port>9005</postgresql_port> -->
|
||||
<postgresql_port>9005</postgresql_port>
|
||||
|
||||
<!-- HTTP API with TLS (HTTPS).
|
||||
You have to configure certificate to enable this interface.
|
||||
|
@ -25,7 +25,7 @@ CREATE ROW POLICY IF NOT EXISTS test_policy ON postgresql_protocol_with_row_poli
|
||||
SELECT 'after row policy with no password';
|
||||
" | $CLICKHOUSE_CLIENT -n
|
||||
|
||||
psql --host localhost --port 5433 default --user postgresql_protocol_user -c "SELECT * FROM postgresql_protocol_with_row_policy;"
|
||||
psql --host localhost --port 9005 default --user postgresql_protocol_user -c "SELECT * FROM postgresql_protocol_with_row_policy;"
|
||||
|
||||
echo "
|
||||
DROP USER IF EXISTS postgresql_protocol_user;
|
||||
@ -37,5 +37,5 @@ CREATE ROW POLICY IF NOT EXISTS test_policy ON postgresql_protocol_with_row_poli
|
||||
SELECT 'after row policy with plaintext_password';
|
||||
" | $CLICKHOUSE_CLIENT -n
|
||||
|
||||
psql "postgresql://postgresql_protocol_user:qwerty@localhost:5433/default" -c "SELECT * FROM postgresql_protocol_with_row_policy;"
|
||||
psql "postgresql://postgresql_protocol_user:qwerty@localhost:9005/default" -c "SELECT * FROM postgresql_protocol_with_row_policy;"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user