... on PostgreSQL ¶ The change in Django 1.11 to make QuerySet.iterator() use server-side cursors on PostgreSQL prevents running Django with PgBouncer in transaction pooling mode. To reallow that, use the DISABLE_SERVER_ ... SIDE_CURSORS setting in DATABASES . See トランザクションプールとサーバーサイドカーソル for more discussion. バグ修正 ¶ Made migrations ... foreign key's parent model as the lookup value ( #28175 ). 目次 Django 1.11.1 リリースノート Allowed disabling server-side cursors on PostgreSQL バグ修正 前のトピックへ Django 1.11.2 リリースノート 次のトピックへ Django 1.11 リリースノート 関連キーワード ... ... on PostgreSQL ¶ The change in Django 1.11 to make QuerySet.iterator() use server-side cursors on PostgreSQL prevents running Django with PgBouncer in transaction pooling mode. To reallow that, use the DISABLE_SERVER_ ... SIDE_CURSORS setting in DATABASES . See トランザクションプールとサーバーサイドカーソル for more discussion. バグ修正 ¶ Made migrations ... foreign key's parent model as the lookup value ( #28175 ). 目次 Django 1.11.1 リリースノート Allowed disabling server-side cursors on PostgreSQL バグ修正 前のトピックへ Django 1.11.2 リリースノート 次のトピックへ Django 1.11 リリースノート 関連キーワード ... ... etting to let PostgreSQL users specify a template for creating the test database. QuerySet.iterator() now uses server-side cursors on PostgreSQL. This feature transfers some of the worker memory load (used to hold query results) to the database and migh ... name keyword argument is added to the DatabaseWrapper.create_cursor(self, name=None) method to allow usage of server-side cursors on backends that support it. Dropped support for PostgreSQL 9.2 and PostGIS 2.0 ¶ Upstream support for PostgreSQL 9.2 ends ... で説明しているように、 clear_delayed_apps_cache() メソッドを使ってモデル状態をレンダリングする必要があります。 Server-side cursors on PostgreSQL ¶ The change to make QuerySet.iterator() use server-side cursors on PostgreSQL prevents running Django with ... ... etting to let PostgreSQL users specify a template for creating the test database. QuerySet.iterator() now uses server-side cursors on PostgreSQL. This feature transfers some of the worker memory load (used to hold query results) to the database and migh ... name keyword argument is added to the DatabaseWrapper.create_cursor(self, name=None) method to allow usage of server-side cursors on backends that support it. Dropped support for PostgreSQL 9.2 and PostGIS 2.0 ¶ Upstream support for PostgreSQL 9.2 ends ... で説明しているように、 clear_delayed_apps_cache() メソッドを使ってモデル状態をレンダリングする必要があります。 Server-side cursors on PostgreSQL ¶ The change to make QuerySet.iterator() use server-side cursors on PostgreSQL prevents running Django with ... ... ixed incorrect index name truncation when using a namespaced db_table ( #28792 ). Made QuerySet.iterator() use server-side cursors on PostgreSQL after values() and values_list() ( #28817 ). Fixed crash on SQLite and MySQL when ordering by a filtered sub ... ... ixed incorrect index name truncation when using a namespaced db_table ( #28792 ). Made QuerySet.iterator() use server-side cursors on PostgreSQL after values() and values_list() ( #28817 ). Fixed crash on SQLite and MySQL when ordering by a filtered sub ... ... ser and server time zone are different, to clarify how the value inserted in the field will be interpreted. Using database cursors as context managers ¶ Prior to Python 2.7, database cursors could be used as a context manager. The specific backend's cur ... sor defined the behavior of the context manager. The behavior of magic method lookups was changed with Python 2.7 and cursors were no longer usable as context managers. Django 1.7 allows a cursor to be used as a context manager. That is, the follow ... framework New Prefetch object for advanced prefetch_related operations. Admin shortcuts support time zones Using database cursors as context managers Custom lookups Improvements to Form error handling Form.add_error() Error metadata Error containers an ... ... ser and server time zone are different, to clarify how the value inserted in the field will be interpreted. Using database cursors as context managers ¶ Prior to Python 2.7, database cursors could be used as a context manager. The specific backend's cur ... sor defined the behavior of the context manager. The behavior of magic method lookups was changed with Python 2.7 and cursors were no longer usable as context managers. Django 1.7 allows a cursor to be used as a context manager. That is, the follow ... framework New Prefetch object for advanced prefetch_related operations. Admin shortcuts support time zones Using database cursors as context managers Custom lookups Improvements to Form error handling Form.add_error() Error metadata Error containers an ... ... ーバーサイドカーソルは、それが作成された接続でのみアクセス可能だからです。 一つの解決策は、 DATABASES で DISABLE_SERVER_SIDE_CURSORS を True に設定して、接続のサーバーサイドカーソルを無効にすることです。 トランザクションプーリングモードでサーバーサイドカー ... ... tched by the Python database client when streaming results from the database. For databases that don't support server-side cursors, it controls the number of results Django fetches from the database adapter. QuerySet.earliest() , QuerySet.latest() , and ... 2026年10月08日