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

fix(solvable_files): Fix quotes in sql statement of gf-pgsql case #16

Merged
merged 1 commit into from
Jan 18, 2022
Merged

fix(solvable_files): Fix quotes in sql statement of gf-pgsql case #16

merged 1 commit into from
Jan 18, 2022

Conversation

neumantm
Copy link
Contributor

@neumantm neumantm commented Jan 18, 2022

In SQL single quotes must be used to surround a literal string.
The path in this case is a literal string and must be quoted.
The whole CONVERT_FROM statement however is not a literal string.
Therefore it should not be surrounded by single quotes.

In the case for normal users and pgsql the quotes are correct.

Resolves: #14

In SQL single quotes must be used to surround a literal string.
The path in this case is a literal string and must be quoted.
The whole CONVERT_FROM statement however is not a literal string.
Therefore it should not be surrounded by single quotes.

In the case for normal users and pgsql the quotes are correct.
@artonge artonge added the bug Something isn't working label Jan 18, 2022
@artonge artonge merged commit b4c3978 into nextcloud-gmbh:master Jan 18, 2022
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

Successfully merging this pull request may close these issues.

SQL Error when using pgsql and groufolders
2 participants