#24811: Add details for installing postgres extensions
-------------------------------------+-------------------------------------
Reporter: Alex3917 | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: hstore | Triage Stage: Accepted
hstoreextension |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by madprime):
* status: closed => new
* needs_better_patch: 0 => 1
* resolution: fixed =>
Comment:
I get a syntax error (using Postgres 9.3.7) due to the single quotes when
running `CREATE EXTENSION IF NOT EXISTS 'hstore';`
{{{
mydb=# CREATE EXTENSION IF NOT EXISTS 'hstore';
ERROR: syntax error at or near "'hstore'"
LINE 1: CREATE EXTENSION IF NOT EXISTS 'hstore';
^
}}}
It works fine with double quotes:
{{{
mydb=# CREATE EXTENSION IF NOT EXISTS "hstore";
CREATE EXTENSION
}}}
I think the documentation needs to be changed to use double quotes.
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/24811#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.cc7dd4c6bea48cba1d8fb4736c23d5cc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.