narugn
A lightweight distributed computer
narugn · A lightweight distributed computer
Overview
| Relationships | |
|---|---|
| Requires | plproxy |
Usage
Sources:
- Official upstream README
- Official extension control file (narugn.control)
- Official extension SQL (narugn–0.3.0.sql)
narugn — Narugn is a lightweight distributed computer, composed by one or more cells that are connected locally. It requires PostgreSQL with the PL/Proxy extension. Use it for the corresponding analytical or storage workflow. Its extension dependencies must be installed and validated first.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
are_adjacent(s1 local_server , s2 local_server)is an extension function and returnsboolean.cell_logic(payload IN text[] , walked IN cdt[] , origin_tick IN bigint , rpfp IN boolean DEFAULT false , z OUT bigint , t OUT timestamp with time zone , output OUT text)is an extension function and returnsSETOF RECORD.cell_new_server(payload IN text[] , walked IN cdt[] , origin_tick IN bigint , rpfp IN boolean DEFAULT false , z OUT bigint , t OUT timestamp with time zone , output OUT text)is an extension function and returnsSETOF RECORD.cell_ping(payload IN text[] , walked IN cdt[] , origin_tick IN bigint , rpfp IN boolean DEFAULT false , z OUT bigint , t OUT timestamp with time zone , output OUT text)is an extension function and returnsSETOF RECORD.cell_rescan(payload IN text[] , walked IN cdt[] , origin_tick IN bigint , rpfp IN boolean DEFAULT false , z OUT bigint , t OUT timestamp with time zone , output OUT text)is an extension function and returnsSETOF RECORD.cell_version(payload IN text[] , walked IN cdt[] , origin_tick IN bigint , rpfp IN boolean DEFAULT false , z OUT bigint , t OUT timestamp with time zone , output OUT text)is an extension function and returnsSETOF RECORD.code_version()is an extension function and returnstext.configure_cell(cell IN cds , local_connstr IN text)is an extension function and returnstext.configure_cell(short_name IN text , full_name IN text , polygon IN polygon , connstr IN text , local_connstr IN text)is an extension function and returnstext.display_cct(this_cell cds , origin_cell cds , t bigint)is an extension function and returnstext.execute_sync(cell_function IN text , payload VARIADIC text[] DEFAULT '{}' , c OUT cds , z OUT bigint , dt OUT interval , output OUT text)is an extension function and returnsSETOF RECORD.execute_sync_abs(cell_function IN text , payload VARIADIC text[] DEFAULT '{}' , c OUT cds , z OUT bigint , t OUT timestamp with time zone , output OUT text)is an extension function and returnsSETOF RECORD.execute_sync_raw(cell_function IN text , payload IN text[] DEFAULT '{}' , ts IN timestamp with time zone DEFAULT clock_timestamp() , origin_cell IN cds DEFAULT NULL , origin_tick IN bigint DEFAULT NULL , walked IN cdt[] DEFAULT NULL , max_delay IN float DEFAULT 0.2 , c OUT cds…)is an extension function and returnsSETOF RECORD.global2dbname(i_c IN cds)is an extension function and returnstext.
Requirements and Caveats
- The reviewed control file declares default version
0.3.0. - Install the confirmed extension dependencies first:
plproxy. - Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.