You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only thing I see out of the ordinary here is that you're using django-multitenant. Doesn't totally explain the unquoted dollar sign thing, but I haven't been able to reproduce this.
A few follow up questions
Would you be able to try the latest Django pgtrigger (4.7)?
How are you running your test suite? Is it with pytest and pytest-django or the default Django test runner?
When you installed django-multitenant, did you override your database engine setting to use 'ENGINE': 'django_multitenant.backends.postgresql'?
I believe the custom engine may be the main difference here. It's something I can try testing out to recreate this. Would love to get to the bottom of this
If you have any other information, let me know! I'm unable to reproduce this on my end and haven't heard others hitting this. I will plan on closing this in a month if I don't hear back
Hi.
When using django-pgtrigger, I'm faced with the following issue
django.db.utils.ProgrammingError: unterminated dollar-quoted string at or near "$$
I've tested using the SQL statement in dbeaver and it works. Then, I tried RunSQL-ing the statement but it does not work.
Help? 😂
Migration:
List of presumably related packages
Postgres : 15
psycopg : 2.9.5
django-pgtrigger : 4.6.0
Error log
The text was updated successfully, but these errors were encountered: