From 52b580676eb852f7f1058f736214f760b2edb494 Mon Sep 17 00:00:00 2001 From: "SUMIDA, Ippei" Date: Sat, 2 Nov 2024 17:49:57 +0900 Subject: [PATCH 1/4] [PHP 8.4] Add manual for `pg_result_memory_syze()` --- .../pgsql/functions/pg-result-memory-size.xml | 94 +++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 reference/pgsql/functions/pg-result-memory-size.xml diff --git a/reference/pgsql/functions/pg-result-memory-size.xml b/reference/pgsql/functions/pg-result-memory-size.xml new file mode 100644 index 0000000000..f0a0254111 --- /dev/null +++ b/reference/pgsql/functions/pg-result-memory-size.xml @@ -0,0 +1,94 @@ + + + + + pg_result_memory_size + クエリーの結果に割り当てられたメモリ使用量を返します + + + + &reftitle.description; + + intpg_result_memory_size + PgSql\Resultresult + + + 指定されたクエリ結果 PgSql\Result インスタンスに割り当てられたメモリ使用量をバイト単位で返します。 + この値は、 pg_free_result によって解放されるメモリ使用量と同じです。 + + + + + &reftitle.parameters; + + + + result + + &pgsql.parameter.result; + + + + + + + + &reftitle.returnvalues; + + メモリ使用量をバイト単位で返します。 + + + + + &reftitle.examples; + + <function>pg_result_memory_size</function> の例 + + +]]> + + &example.outputs.similar; + + + + + + + + &reftitle.seealso; + + + pg_free_result + + + + + + \ No newline at end of file From 507ed4d0516a5286febed094cd41345c703aafd4 Mon Sep 17 00:00:00 2001 From: "SUMIDA, Ippei" Date: Sat, 2 Nov 2024 23:43:09 +0900 Subject: [PATCH 2/4] remove `` --- .../pgsql/functions/pg-result-memory-size.xml | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/reference/pgsql/functions/pg-result-memory-size.xml b/reference/pgsql/functions/pg-result-memory-size.xml index f0a0254111..0b66d0d253 100644 --- a/reference/pgsql/functions/pg-result-memory-size.xml +++ b/reference/pgsql/functions/pg-result-memory-size.xml @@ -20,16 +20,14 @@ &reftitle.parameters; - - - - result - - &pgsql.parameter.result; - - - - + + + result + + &pgsql.parameter.result; + + + @@ -64,11 +62,9 @@ int(3288) &reftitle.seealso; - - - pg_free_result - - + + pg_free_result + From 048e9ba4b751e07a7b8bda8bead2c7ac09d66353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Thu, 7 Nov 2024 12:20:37 +0900 Subject: [PATCH 3/4] =?UTF-8?q?xml=E3=81=AE=E6=9B=B8=E5=BC=8F=E3=82=B9?= =?UTF-8?q?=E3=82=BF=E3=82=A4=E3=83=AB=E3=82=92en=E3=81=A8=E6=8F=83?= =?UTF-8?q?=E3=81=88=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pgsql/functions/pg-result-memory-size.xml | 107 +++++++++--------- 1 file changed, 55 insertions(+), 52 deletions(-) diff --git a/reference/pgsql/functions/pg-result-memory-size.xml b/reference/pgsql/functions/pg-result-memory-size.xml index 0b66d0d253..bb4fdbdc67 100644 --- a/reference/pgsql/functions/pg-result-memory-size.xml +++ b/reference/pgsql/functions/pg-result-memory-size.xml @@ -1,71 +1,74 @@ - - pg_result_memory_size - クエリーの結果に割り当てられたメモリ使用量を返します - + + pg_result_memory_size + クエリーの結果に割り当てられたメモリ使用量を返します + - - &reftitle.description; - - intpg_result_memory_size - PgSql\Resultresult - - - 指定されたクエリ結果 PgSql\Result インスタンスに割り当てられたメモリ使用量をバイト単位で返します。 - この値は、 pg_free_result によって解放されるメモリ使用量と同じです。 - - + + &reftitle.description; + + intpg_result_memory_size + PgSql\Resultresult + + + 指定されたクエリ結果 PgSql\Result インスタンスに割り当てられたメモリ使用量をバイト単位で返します。 + この値は、 pg_free_result によって解放されるメモリ使用量と同じです。 + + - - &reftitle.parameters; - - - result - - &pgsql.parameter.result; - - - - + + &reftitle.parameters; + + + result + + &pgsql.parameter.result; + + + + - - &reftitle.returnvalues; - - メモリ使用量をバイト単位で返します。 - - + + &reftitle.returnvalues; + + メモリ使用量をバイト単位で返します。 + + - - &reftitle.examples; - - <function>pg_result_memory_size</function> の例 - - + &reftitle.examples; + + <function>pg_result_memory_size</function> の例 + + ]]> - - &example.outputs.similar; - - + &example.outputs.similar; + + - - - + + + - - &reftitle.seealso; - - pg_free_result - - + + &reftitle.seealso; + + pg_free_result + + \ No newline at end of file +--> From 368540570b9bbb4082a5f9f91cf276260c299704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Thu, 7 Nov 2024 12:26:44 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=E8=8B=B1=E8=AA=9E=E7=89=88=E3=83=AA?= =?UTF-8?q?=E3=83=93=E3=82=B8=E3=83=A7=E3=83=B3=E3=81=A8=E3=82=AF=E3=83=AC?= =?UTF-8?q?=E3=82=B8=E3=83=83=E3=83=88=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/pgsql/functions/pg-result-memory-size.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/pgsql/functions/pg-result-memory-size.xml b/reference/pgsql/functions/pg-result-memory-size.xml index bb4fdbdc67..cb277a7ab8 100644 --- a/reference/pgsql/functions/pg-result-memory-size.xml +++ b/reference/pgsql/functions/pg-result-memory-size.xml @@ -1,5 +1,7 @@ + + pg_result_memory_size