Skip to content
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

chore: made sure that the log output from pg-functions is more unified #1733

Merged
merged 1 commit into from
Mar 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/fixtures/functions/function_zxy_query.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CREATE OR REPLACE FUNCTION public.function_zxy_query(z integer, x integer, y int
DECLARE
mvt bytea;
BEGIN
RAISE NOTICE 'query: %', query;
RAISE DEBUG 'function got query: %', query;

SELECT INTO mvt ST_AsMVT(tile, 'public.function_zxy_query', 4096, 'geom') FROM (
SELECT
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/functions/function_zxy_query_jsonb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CREATE OR REPLACE FUNCTION public.function_zxy_query_jsonb(z integer, x integer,
DECLARE
mvt bytea;
BEGIN
RAISE NOTICE 'query: %', query;
RAISE DEBUG 'function got query: %', query;

SELECT INTO mvt ST_AsMVT(tile, 'public.function_zxy_query_jsonb', 4096, 'geom') FROM (
SELECT
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/functions/function_zxy_query_test.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CREATE OR REPLACE FUNCTION public.function_zxy_query_test(z integer, x integer,
DECLARE
mvt bytea;
BEGIN
RAISE DEBUG 'query_params: %', query_params;
RAISE DEBUG 'function got query_params: %', query_params;

IF (query_params->>'token')::varchar IS NULL THEN
RAISE EXCEPTION 'the `token` json parameter does not exist in `query_params`';
Expand Down
Loading