I looked into using UNLOGGED some time ago, but the create table method was
misnamed, and the actual create table function was inflexible.

Now the code is much cleaner, and each DB can specify how to enact create
table and friends.

Which leaves us with the question -- is it possible to alter the Schema
strings based on if we're running tests?

The closest I can see is sql_table_creation_suffix...

If there were a similar function which allowed us to pass additional
arguments for substing into sql_create_table...

--
C


On 5 May 2015 at 16:45, Aymeric Augustin <aymeric.augus...@polytechnique.org
> wrote:

> 2015-05-05 6:15 GMT+02:00 David Muller <davehmul...@gmail.com>:
>
>> Haven't had a chance to try and throw everything into RAM disk but that
>> sounds pretty cool.
>>
>
> Actually, that's the reason why I added support for tablespaces on
> PostgreSQL in Django 1.4 :-)
>
> https://docs.djangoproject.com/en/1.8/ref/settings/#default-tablespace
>
> https://docs.djangoproject.com/en/1.8/ref/settings/#default-index-tablespace
>
> I remember that it was easy to set up and worked well. It made a good
> difference on the CI server, which had traditional hard disks, but not an
> appreciable change locally on my laptop, which has a SSD.
>
> --
> Aymeric.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-developers@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/CANE-7mXx9FvgU8k1mqi2WjTXGHYjUvOdhtwmqkVEkv9LLbAQ5Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-developers/CANE-7mXx9FvgU8k1mqi2WjTXGHYjUvOdhtwmqkVEkv9LLbAQ5Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAG_XiSDc9Mygd1o5hheEenW_O9jFiW12AqmuUyJixz6qw%2BfFdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to