これはPGroonga 2.0.0以降用のドキュメントです。PGroonga 1.Xを使っているならPGroonga 1.Xのドキュメントを見てください。
pgroonga_is_writable
関数pgroonga_is_writable
関数はPGroongaのデータを変更できるかどうかを返します。
この関数の構文は次の通りです。
bool pgroonga_is_writable()
PGroongaのデータを変更できるかどうかを返します。
例です。
SELECT pgroonga_is_writable();
-- pgroonga_is_writable
-- ----------------------
-- t
-- (1 row)
pgroonga_set_writable
関数][set-writable]