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

ST_Force3D functions no longer accepts M/Z value #503

Open
marcoslot opened this issue Feb 24, 2025 · 1 comment
Open

ST_Force3D functions no longer accepts M/Z value #503

marcoslot opened this issue Feb 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@marcoslot
Copy link

ST_ForceBase does not add a double argument for the 3D values, so the 2-argument signature errors:

select st_force3dm('point(3 4)', 3.4);
Binder Error:
No function matches the given name and argument types 'ST_Force3DM(STRING_LITERAL, DECIMAL(2,1))'. You might need to add explicit type casts.
        Candidate functions:
        ST_Force3DM(GEOMETRY) -> GEOMETRY


LINE 1: select st_force3dm('point(3 4)', 3.4);
@marcoslot marcoslot changed the title ST_Force3D functions no longer accepts M value ST_Force3D functions no longer accepts M/Z value Feb 24, 2025
@Maxxen
Copy link
Member

Maxxen commented Feb 24, 2025

I could have sworn we had a test for this... but thanks for reporting! I'll investigate.

@Maxxen Maxxen added the bug Something isn't working label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants