Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

decode_url_part is only compatible with postgresql >= 9.0 #4389

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments
Closed

decode_url_part is only compatible with postgresql >= 9.0 #4389

openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments

Comments

@openstreetmap-trac
Copy link

Reporter: lokkju
[Submitted to the original trac issue database at 9.58pm, Wednesday, 2nd May 2012]

The decode_url_part function in functions.sql is only compatible with version of postgresql >= 9.0 due to the use of the 'string_agg' function.

An alternative implementation of decode_url_part function that is compatible with postgresql 8.4 is provided on the same stackoverflow page that provided the 9.0+ implementation. I would suggest either just using the 8.4 compatible version, or else conditionally using one or the other based on the postgresql version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant