Scaling with PostgreSQL 9.6 and Postgres-XLnodes = flexibility to move shards with growth • Custom data access functions in application layer to choose appropriate shards, then map shard to node (Python) Postgres Conference China 2016 中国用户大会0 码力 | 87 页 | 1.16 MB | 1 年前3
PostgreSQL 17beta1 A4 Documentationnested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb; 186 Data Types [{"a": "b"}, 42] To append an array to another array as a single entry, wrap it in an additional layer of ar- ray, for example: '[1, 2]'::jsonb || jsonb_build_array('[3, 4]'::jsonb) → [1, 2, [3, 4]] this timeout on connections made through connection-pooling software or other middleware, as such a layer may not react well to unexpected connection closure. It may be helpful to enable this timeout only0 码力 | 3017 页 | 14.45 MB | 1 年前3
PostgreSQL 17beta1 US Documentationnested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb; -- Similarly, containment [{"a": "b"}, 42] To append an array to another array as a single entry, wrap it in an additional layer of array, for example: '[1, 2]'::jsonb || jsonb_build_array('[3, 4]'::jsonb) → [1, 2, [3, 4]] jsonb this timeout on connections made through connection-pooling software or other middleware, as such a layer may not react well to unexpected connection closure. It may be helpful to enable this timeout only0 码力 | 3188 页 | 14.32 MB | 1 年前3
PostgreSQL 14.10 Documentationnested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb; -- Similarly, containment [{"a": "b"}, 42] To append an array to another array as a single entry, wrap it in an additional layer of array, for example: '[1, 2]'::jsonb || jsonb_build_array('[3, 4]'::jsonb) → [1, 2, [3, 4]] jsonb this timeout on connections made through connection-pooling software or other middleware, as such a layer may not react well to unexpected connection closure. It may be helpful to enable this timeout only0 码力 | 3032 页 | 13.27 MB | 1 年前3
PostgreSQL 14.10 Documentationnested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb; -- Similarly, containment [{"a": "b"}, 42] To append an array to another array as a single entry, wrap it in an additional layer of ar- ray, for example: '[1, 2]'::jsonb || jsonb_build_array('[3, 4]'::jsonb) → [1, 2, [3, 4]] this timeout on connections made through connection-pooling software or other middleware, as such a layer may not react well to unexpected connection closure. It may be helpful to enable this timeout only0 码力 | 2871 页 | 13.38 MB | 1 年前3
PostgreSQL 9.6.24 Documentationnested within it: SELECT ’[1, 2, [1, 3]]’::jsonb @> ’[1, 3]’::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT ’[1, 2, [1, 3]]’::jsonb @> ’[[1, 3]]’::jsonb; -- Similarly, containment public or another non-system schema. There is a new version of tsearch2 that provides a compatibility layer to solve most problems in this area. • The old tsearch2 functions and other objects must be suppressed application that chooses to provide its own notice receiver will typi- cally ignore the notice processor layer and just do all the work in the notice receiver. The function PQsetNoticeReceiver sets or examines0 码力 | 2814 页 | 6.58 MB | 1 年前3
PostgreSQL 9.6.24 Documentation
nested within it: SELECT ’[1, 2, [1, 3]]’::jsonb @> ’[1, 3]’::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT ’[1, 2, [1, 3]]’::jsonb @> ’[[1, 3]]’::jsonb; -- Similarly, containment public or another non-system schema. There is a new version of tsearch2 that provides a compatibility layer to solve most problems in this area. • The old tsearch2 functions and other objects must be suppressed application that chooses to provide its own notice receiver will typically ignore the notice processor layer and just do all the work in the notice receiver. The function PQsetNoticeReceiver sets or examines0 码力 | 2661 页 | 6.53 MB | 1 年前3
PostgreSQL 16.1 Documentationnested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb; -- Similarly, containment [{"a": "b"}, 42] To append an array to another array as a single entry, wrap it in an additional layer of array, for example: '[1, 2]'::jsonb || jsonb_build_array('[3, 4]'::jsonb) → [1, 2, [3, 4]] jsonb this timeout on connections made through connection-pooling software or other middleware, as such a layer may not react well to unexpected connection closure. It may be helpful to enable this timeout only0 码力 | 3133 页 | 14.10 MB | 1 年前3
PostgreSQL 16.1 Documentationnested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb; 184 Data Types [{"a": "b"}, 42] To append an array to another array as a single entry, wrap it in an additional layer of ar- ray, for example: '[1, 2]'::jsonb || jsonb_build_array('[3, 4]'::jsonb) → [1, 2, [3, 4]] this timeout on connections made through connection-pooling software or other middleware, as such a layer may not react well to unexpected connection closure. It may be helpful to enable this timeout only0 码力 | 2974 页 | 14.22 MB | 1 年前3
PostgreSQL 15.5 Documentationnested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb; 183 Data Types [{"a": "b"}, 42] To append an array to another array as a single entry, wrap it in an additional layer of ar- ray, for example: '[1, 2]'::jsonb || jsonb_build_array('[3, 4]'::jsonb) → [1, 2, [3, 4]] this timeout on connections made through connection-pooling software or other middleware, as such a layer may not react well to unexpected connection closure. It may be helpful to enable this timeout only0 码力 | 2910 页 | 13.60 MB | 1 年前3
共 41 条
- 1
- 2
- 3
- 4
- 5













