Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-10 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  amureki
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  create extension,| Triage Stage:  Ready for
  postgis, psycopg2, postgresql  |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by GitHub ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8403da3696730f8b9e7d2ad20c920fcd7c52b62c" 8403da36]:
 {{{
 #!CommitTicketReference repository=""
 revision="8403da3696730f8b9e7d2ad20c920fcd7c52b62c"
 Fixed #28975 -- Made PostGIS backend skip extension creation if installed.
 }}}

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701828790e5fa-11b7a79b-3ba9-41e1-ab62-bbd05a77d0e9-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-10 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  amureki
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Ready for
  postgis, psycopg2, postgresql  |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * has_patch:  0 => 1
 * stage:  Accepted => Ready for checkin


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018287879c4a-f78b3528-58a7-415e-9d91-0b9ae427ef80-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-10 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  amureki
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by amureki):

 Replying to [comment:16 Mariusz Felisiak]:
 > > Do you mind if I submit a PR and ask for your assistance?
 >
 > Of course not, please do.

 <3

 Not sure, how to modify this ticket to catch the new PR (as there already
 was one that is closed), but here is a link:
 https://github.com/django/django/pull/15941

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018286da6af4-c5fe3c93-da70-430b-8c6b-101831f49f9e-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-10 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  amureki
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 > Do you mind if I submit a PR and ask for your assistance?

 Of course not, please do.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018286d698d2-2f01a713-eef3-4d9e-933a-d6aceb0dfb1a-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-10 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  amureki
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by amureki):

 Replying to [comment:14 Mariusz Felisiak]:
 > Rust, Do you have time to work on this?

 I did prepare a patch. However, I am struggling with the tests a bit.
 Do you mind if I submit a PR and ask for your assistance?

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018286d1ffd1-8069d3b9-47b9-4ea1-8142-d64ab90953fd-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-10 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  amureki
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 Rust, Do you have time to work on this?

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018286d0c06e-7cec9d90-3e7e-4101-8379-3e3d58f534e2-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-03 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  amureki
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * owner:  sphrak => amureki
 * status:  new => assigned


Comment:

 Replying to [comment:12 amureki]:
 > As I am also affected by this, I would be happy to introduce a fix for
 that, which would be following Mariusz's suggestion.

 Thanks, feel-free to submit a patch.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018262a0c311-0912e405-8d23-48bd-8f32-c1808da9706d-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-02 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by amureki):

 * cc: amureki (added)


Comment:

 As I am also affected by this, I would be happy to introduce a fix for
 that, which would be following Mariusz's suggestion.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701825e07d1d6-42fe9f2b-bb16-49e4-9e9d-d89848db5d37-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-02 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 Other extensions are needed to unlock various features on some PostgreSQL
 versions. `postgis` is always required for
 `django.contrib.gis.db.backends.postgis`, so IMO it's not the same case.
 We would force all users to manually create a migration with
 `PostGISExtension()` when starting to work with GIS on PostgreSQL. What do
 you think about my [https://code.djangoproject.com/ticket/28975#comment:9
 proposition]?

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701825dfa324d-31aaf0d3-dca5-4034-b324-e3886018a717-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-02 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Johannes Maron):

 * status:  closed => new
 * has_patch:  1 => 0
 * resolution:  worksforme =>
 * needs_tests:  1 => 0


Comment:

 As mentioned in #33885 the current behavior of implicitly creating the PG
 extensions, where all other PG extensions need to be created manually or
 via a migration seems inconsistent.
 Therefore, I'd recommend deprecating the behavior and schedule it for
 deletion in Django 5.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701825defedaf-242b3653-5157-4a74-b5cb-2ba9e3b6c8e2-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2022-08-02 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,|  worksforme
  postgis, psycopg2, postgresql  | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak):

 #33885 was a duplicate. Maybe we should skip creation 樂, if not needed,
 as we did for `CreationExtension()` operation in
 d693a086def21d843c03ec3f5b5e697ed2463d45.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701825de88b35-205364dd-2fcb-460d-be1f-ddadf3be0c6d-00%40eu-central-1.amazonses.com.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2018-03-17 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  GIS  |  Version:  2.0
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,|  worksforme
  postgis, psycopg2, postgresql  | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham):

 * status:  assigned => closed
 * component:  Database layer (models, ORM) => GIS
 * resolution:   => worksforme


Comment:

 As Shai said on the mailing list, `CREATE EXTENSION IF NOT EXISTS
 postgis;` doesn't seem to fail if the extension already exists, even if
 the user isn't a superuser. I see `NOTICE:  extension "postgis" already
 exists, skipping` in this case.  Unless I'm misunderstanding the original
 report, I don't see a need to make any changes.

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.ba2eae240d83e1e4c0d03e2922eb270f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2018-01-10 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Database layer   |  Version:  2.0
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by sphrak):

 This issue is currently stalled while waiting on response here:
 https://groups.google.com/forum/#!topic/django-developers/EjouxahkqUc


 Replying to [ticket:28975 sphrak]:
 > Hello,
 > I have found an issue with the documentation and/or the behaivor of the
 postgis extension create method.
 >
 > **Background**
 > I am trying to migrate my app that uses the postgis extension inside a
 docker container. I do create the extension beforehand as superuser since
 I dont intend to run the database connection as a postgres superuser.
 >
 > **Problem**
 > As per the documentation found here:
 https://docs.djangoproject.com/en/2.0/ref/contrib/gis/install/postgis/
 >
 >
 > I find it confusing that the documentation states "The command is run
 during the migrate process." and "An alternative is to use a migration
 operation in your project:". Because what seems to be the problem is that
 even if you remove the create extension statement from the migration file,
 it still runs regardless - rendering the option to put the create
 extension statement inside the migration file somewhat redundant and
 probably not very useful.
 >
 > **Possible solution**
 > Ideally the behaivor would be only create extension if its in a
 migration file and if its not - its the users concern to create it however
 it see fit.
 >
 > The relevant part is this:
 > {{{
 > testing.api |   File "/usr/lib/python3.6/site-
 packages/django/contrib/gis/db/backends/postgis/base.py", line 26, in
 prepare_database
 > testing.api | cursor.execute("CREATE EXTENSION IF NOT EXISTS
 postgis")
 > }}}
 >
 > Full trace:
 > {{{
 > testing.api | POSTGRES: I'm still down. Standby.
 > testing.api |   List of databases
 > testing.api |Name|  Owner   | Encoding | Collate |  Ctype  |
 Access privileges
 > testing.api |
 ---+--+--+-+-+---
 > testing.api |  postgres  | postgres | UTF8 | C   | C.UTF-8 |
 > testing.api |  template0 | postgres | UTF8 | C   | C.UTF-8 |
 =c/postgres  +
 > testing.api ||  |  | | |
 postgres=CTc/postgres
 > testing.api |  template1 | postgres | UTF8 | C   | C.UTF-8 |
 =c/postgres  +
 > testing.api ||  |  | | |
 postgres=CTc/postgres
 > testing.api |  testing   | postgres | UTF8 | C   | C.UTF-8 |
 =Tc/postgres +
 > testing.api ||  |  | | |
 postgres=CTc/postgres+
 > testing.api ||  |  | | |
 testing=CTc/postgres
 > testing.api | (4 rows)
 > testing.api |
 > testing.api | POSTGRES: I'm up, I'm up, I'm f* up - but I'm up
 > testing.api | Collecting selenium==3.3.1 (from -r
 /app/src/core/requirements/testing.txt (line 1))
 > testing.api |   Downloading selenium-3.3.1-py2.py3-none-any.whl (930kB)
 > testing.api | Collecting django-debug-toolbar==1.8 (from -r
 /app/src/core/requirements/testing.txt (line 2))
 > testing.api |   Downloading django_debug_toolbar-1.8-py2.py3-none-
 any.whl (205kB)
 > testing.api | Requirement already satisfied: Django>=1.8 in
 /usr/lib/python3.6/site-packages (from django-debug-toolbar==1.8->-r
 /app/src/core/requirements/testing.txt (line 2))
 > testing.api | Collecting sqlparse>=0.2.0 (from django-debug-
 toolbar==1.8->-r /app/src/core/requirements/testing.txt (line 2))
 > testing.api |   Downloading sqlparse-0.2.4-py2.py3-none-any.whl
 > testing.api | Requirement already satisfied: pytz in /usr/lib/python3.6
 /site-packages (from Django>=1.8->django-debug-toolbar==1.8->-r
 /app/src/core/requirements/testing.txt (line 2))
 > testing.api | Installing collected packages: selenium, sqlparse, django-
 debug-toolbar
 > testing.api | Successfully installed django-debug-toolbar-1.8
 selenium-3.3.1 sqlparse-0.2.4
 > testing.api | Traceback (most recent call last):
 > testing.api |   File "/usr/lib/python3.6/site-
 packages/django/db/backends/utils.py", line 83, in _execute
 > 

Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2018-01-02 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Database layer   |  Version:  2.0
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  1|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by sphrak):

 * has_patch:  0 => 1
 * needs_tests:  0 => 1


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.998f05c4fc4b3f123e55d4be136ca028%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists

2018-01-02 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Database layer   |  Version:  2.0
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Ramiro Morales):

 I think the issue reported isn't that creation of the extension must be
 skipped if it already exist (as I think that's what the  `IF NOT EXISTS
 postgis` part of `CREATE EXTENSION IF NOT EXISTS postgis` is about) But
 rather that the query is tried unconditionally.

 I'd vote for removing the automatic creation of the postgis extension from
 `postgis backend DatabaseWrapper.prepare_databse()` we added in 1.8 and
 move to having users to perform it explicitly either:

 - Manually, externally -- For cases like the OP describes
 - Via a migration -- For cases in which the user Django connects to
 Postgres as has DB superuser rights there as it's assumed

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.019ee429a0631917166d016947e579d8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28975: Skip automatic creation of postgis extension if it already exists (was: Postgis create extension runs regardless if in migration file or not)

2018-01-02 Thread Django
#28975: Skip automatic creation of postgis extension if it already exists
-+-
 Reporter:  sphrak   |Owner:  sphrak
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Database layer   |  Version:  2.0
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  create extension,| Triage Stage:  Accepted
  postgis, psycopg2, postgresql  |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham):

 * type:  Bug => Cleanup/optimization
 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.72d69ccc173407304a4e31e6d0110033%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.