mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Add a test
This commit is contained in:
parent
399634a1bc
commit
d1172690c6
@ -0,0 +1,5 @@
|
|||||||
|
test
|
||||||
|
------
|
||||||
|
1.23
|
||||||
|
(1 row)
|
||||||
|
|
14
tests/queries/0_stateless/02686_postgres_protocol_decimal_256.sh
Executable file
14
tests/queries/0_stateless/02686_postgres_protocol_decimal_256.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Tags: no-parallel, no-fasttest
|
||||||
|
# Tag no-fasttest: needs psql
|
||||||
|
|
||||||
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||||
|
# shellcheck source=../shell_config.sh
|
||||||
|
. "$CUR_DIR"/../shell_config.sh
|
||||||
|
|
||||||
|
echo "
|
||||||
|
DROP USER IF EXISTS postgresql_user;
|
||||||
|
CREATE USER postgresql_user HOST IP '127.0.0.1' IDENTIFIED WITH no_password;
|
||||||
|
" | $CLICKHOUSE_CLIENT -n
|
||||||
|
|
||||||
|
psql --host localhost --port ${CLICKHOUSE_PORT_POSTGRESQL} ${CLICKHOUSE_DATABASE} --user postgresql_user -c "SELECT 1.23::Decimal256(70) AS test;"
|
Loading…
Reference in New Issue
Block a user