Skip to content

Commit

Permalink
Windows debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme committed Nov 5, 2024
1 parent 01b1f46 commit 19db850
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions h3/test/expected/type.out
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ CREATE FUNCTION h3_test_binary_io() RETURNS boolean LANGUAGE PLPGSQL AS $$
-- base temp dir on platform
IF (SELECT setting = 'windows' FROM pg_catalog.pg_file_settings WHERE name = 'dynamic_shared_memory_type')
THEN
COPY h3_test_binary_send TO '%localappdata%\Temp\h3_test_binary.bin' (FORMAT binary);
COPY h3_test_binary_recv FROM '%localappdata%\Temp\h3_test_binary.bin' (FORMAT binary);
COPY h3_test_binary_send TO 'C:\Windows\Temp\h3_test_binary.bin' (FORMAT binary);
COPY h3_test_binary_recv FROM 'C:\Windows\Temp\h3_test_binary.bin' (FORMAT binary);
ELSE
COPY h3_test_binary_send TO '/tmp/h3_test_binary.bin' (FORMAT binary);
COPY h3_test_binary_recv FROM '/tmp/h3_test_binary.bin' (FORMAT binary);
Expand Down
4 changes: 2 additions & 2 deletions h3/test/sql/type.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ CREATE FUNCTION h3_test_binary_io() RETURNS boolean LANGUAGE PLPGSQL AS $$
-- base temp dir on platform
IF (SELECT setting = 'windows' FROM pg_catalog.pg_file_settings WHERE name = 'dynamic_shared_memory_type')
THEN
COPY h3_test_binary_send TO '%localappdata%\Temp\h3_test_binary.bin' (FORMAT binary);
COPY h3_test_binary_recv FROM '%localappdata%\Temp\h3_test_binary.bin' (FORMAT binary);
COPY h3_test_binary_send TO 'C:\Windows\Temp\h3_test_binary.bin' (FORMAT binary);
COPY h3_test_binary_recv FROM 'C:\Windows\Temp\h3_test_binary.bin' (FORMAT binary);
ELSE
COPY h3_test_binary_send TO '/tmp/h3_test_binary.bin' (FORMAT binary);
COPY h3_test_binary_recv FROM '/tmp/h3_test_binary.bin' (FORMAT binary);
Expand Down

0 comments on commit 19db850

Please sign in to comment.