{"id":182581,"date":"2026-07-10T10:53:26","date_gmt":"2026-07-10T08:53:26","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/pgrust-klon-postgresql-na-rust-prohodyashhij-vse-regressionnye-testy"},"modified":"2026-07-10T10:53:26","modified_gmt":"2026-07-10T08:53:26","slug":"pgrust-klon-postgresql-na-rust-prohodyashhij-vse-regressionnye-testy","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/pgrust-klon-postgresql-na-rust-prohodyashhij-vse-regressionnye-testy","title":{"rendered":"pgrust \u2014 klon PostgreSQL na Rust, kter\u00fd proch\u00e1z\u00ed v\u0161emi regresn\u00edmi testy","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Byl zve\u0159ejn\u011bn projekt pgrust, kter\u00fd implementuje S\u0158BD PostgreSQL p\u0159epsanou v jazyce Rust s vyu\u017eit\u00edm p\u0159eklada\u010de c2rust a AI asistenta. Bylo ozn\u00e1meno, \u017ee projekt zat\u00edm nen\u00ed p\u0159ipraven pro pou\u017e\u00edv\u00e1n\u00ed v pracovn\u00edch projektech, ale ji\u017e \u00fasp\u011b\u0161n\u011b proch\u00e1z\u00ed v\u0161emi regresn\u00edmi testy PostgreSQL, je kompatibiln\u00ed se form\u00e1tem ukl\u00e1d\u00e1n\u00ed dat PostgreSQL 18.3 a m\u016f\u017ee vyu\u017e\u00edvat datov\u00fd katalog od PostgreSQL 18.3. K\u00f3d projektu je distribuov\u00e1n pod licenc\u00ed AGPLv3, na rozd\u00edl od origin\u00e1ln\u00edho PostgreSQL, kter\u00e9 se dod\u00e1v\u00e1 pod permisivn\u00ed licenc\u00ed PostgreSQL, bl\u00edzkou k licenc\u00edm BSD a MIT. Dostupn\u00e1 je online demonstrace mo\u017enost\u00ed, zalo\u017een\u00e1 na sestaven\u00ed ve WebAssembly, a tak\u00e9 docker obraz pro rychl\u00e9 spu\u0161t\u011bn\u00ed.      <\/p>\n<p>Mezi c\u00edli v\u00fdvoje se zmi\u0148uje dosa\u017een\u00ed pln\u00e9 kompatibility s PostgreSQL 18.3, stejn\u011b jako prov\u00e1d\u011bn\u00ed experiment\u016f se zm\u011bnami vnit\u0159n\u00ed struktury a vytvo\u0159en\u00ed verze PostgreSQL, zbaven\u00e9 architektonick\u00fdch omezen\u00ed, kter\u00fdch se nelze zbavit z historick\u00fdch d\u016fvod\u016f. Projekt \u00fasp\u011b\u0161n\u011b proch\u00e1z\u00ed souborem v\u00edce ne\u017e 46 tis\u00edc regresn\u00edch test\u016f PostgreSQL, ale zat\u00edm nen\u00ed kompatibiln\u00ed s dopl\u0148ky pro PostgreSQL, neposkytuje po\u017eadovan\u00e1 zlep\u0161en\u00ed v\u00fdkonu a zcela neimplementuje procedur\u00e1ln\u00ed jazyky PL\/Python, PL\/Perl a PL\/Tcl.      <\/p>\n<p>Pl\u00e1ny do budoucna:  <\/p>\n<ul>\n<li class=\"l\"> P\u0159echod na v\u00edcerozm\u011brnou vnit\u0159n\u00ed architekturu.\n<li class=\"l\"> Implementace poolingu p\u0159ipojen\u00ed.\n<li class=\"l\"> Optimalizace pro pracovn\u00ed postupy, kter\u00e9 aktivn\u011b pou\u017e\u00edvaj\u00ed JSON.\n<li class=\"l\"> Mo\u017enost vytv\u00e1\u0159en\u00ed kopi\u00ed a odbo\u010dek prvk\u016f DB v re\u017eimu Copy-on-Write bez kop\u00edrov\u00e1n\u00ed dat.\n<li class=\"l\"> Experimenty s architekturou, kter\u00e1 nevy\u017eaduje prov\u00e1d\u011bn\u00ed operace VACUUM.\n<li class=\"l\"> Syst\u00e9m omezen\u00ed SQL dotaz\u016f, kter\u00fd umo\u017e\u0148uje blokovat nadm\u011brnou spot\u0159ebu zdroj\u016f p\u0159i vykon\u00e1v\u00e1n\u00ed nekvalitn\u00edch dotaz\u016f.\n<li class=\"l\"> Ochrana p\u0159ed p\u0159epnut\u00edm optimaliz\u00e1toru na m\u00e9n\u011b efektivn\u00ed pl\u00e1ny prov\u00e1d\u011bn\u00ed dotaz\u016f.    <\/ul>\n<p>Podle slov autora projektu se v sou\u010dasn\u00e9 dob\u011b pracuje na dal\u0161\u00ed verzi pgrust, ve kter\u00e9 je nam\u00edsto poolu pracovn\u00edch proces\u016f implementov\u00e1n v\u00edcethreadov\u00fd model zpracov\u00e1n\u00ed spojen\u00ed a tak\u00e9 jsou vyu\u017eity dal\u0161\u00ed optimalizace, jako je d\u00e1vkov\u00e9 zpracov\u00e1n\u00ed \u0159et\u011bzc\u016f v tabulk\u00e1ch a p\u0159edb\u011b\u017en\u00e9 na\u010d\u00edt\u00e1n\u00ed dat. P\u0159i testov\u00e1n\u00ed s n\u00e1strojem percona-tpcc se p\u0159i zpracov\u00e1n\u00ed transakc\u00ed nov\u00e1 verze pgrust uk\u00e1zala b\u00fdt o 50 % rychlej\u0161\u00ed ne\u017e standardn\u00ed PostgreSQL, a p\u0159i zpracov\u00e1n\u00ed analytick\u00fdch dotaz\u016f \u2014 300kr\u00e1t rychlej\u0161\u00ed.      <\/p>\n<p>P\u0159i p\u0159ekladu na Rust byl pou\u017eit hybridn\u00ed p\u0159\u00edstup, kdy byl k\u00f3d PostgreSQL nejprve zpracov\u00e1n pomoc\u00ed p\u0159eklada\u010de c2rust, kter\u00fd generuje unsafe-reprezentaci Rustu, bl\u00edzkou svou strukturou p\u016fvodn\u00edmu k\u00f3du v C. Po zpracov\u00e1n\u00ed v c2rust bylo vytvo\u0159eno p\u0159ibli\u017en\u011b 1000 crate-bal\u00ed\u010dk\u016f, kter\u00e9 byly sou\u010dasn\u011b p\u0159ekl\u00e1d\u00e1ny na idiomatick\u00fd Rust pomoc\u00ed AI-modelu Claude a n\u00e1stroje Conductor pro rozd\u011blen\u00ed \u00fakol\u016f mezi sou\u010dasn\u011b spu\u0161t\u011bn\u00e9 subagenty.<br \/>\n<br \/>Zdroj: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65879\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 pgrust \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0421\u0423\u0411\u0414 PostgreSQL, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0442\u043e\u0440\u0430 c2rust \u0438 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430. \u0417\u0430\u044f\u0432\u043b\u0435\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0433\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u043d\u043e \u0443\u0436\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0432\u0441\u0435 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b PostgreSQL, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 PostgreSQL 18.3 \u0438 \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c data-\u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043e\u0442 PostgreSQL 18.3. \u041a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-182581","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 pgrust \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0421\u0423\u0411\u0414 PostgreSQL, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0442\u043e\u0440\u0430 c2rust \u0438 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/pgrust-klon-postgresql-na-rust-prohodyashhij-vse-regressionnye-testy\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47pgrust \u2014 \u043a\u043b\u043e\u043d PostgreSQL \u043d\u0430 Rust, \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432\u0441\u0435 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 pgrust \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0421\u0423\u0411\u0414 PostgreSQL, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0442\u043e\u0440\u0430 c2rust \u0438 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/pgrust-klon-postgresql-na-rust-prohodyashhij-vse-regressionnye-testy\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-10T08:53:26+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-10T08:53:26+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47pgrust \u2014 klon PostgreSQL na Rust, kter\u00fd proch\u00e1z\u00ed v\u0161emi regresn\u00edmi testy | ProHoster","description":"Byl zve\u0159ejn\u011bn projekt pgrust s implementac\u00ed datab\u00e1zov\u00e9ho syst\u00e9mu PostgreSQL, p\u0159epsan\u00e9ho v jazyce Rust s vyu\u017eit\u00edm p\u0159eklada\u010de c2rust a AI asistenta.","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/pgrust-klon-postgresql-na-rust-prohodyashhij-vse-regressionnye-testy","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47pgrust \u2014 \u043a\u043b\u043e\u043d PostgreSQL \u043d\u0430 Rust, \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0432\u0441\u0435 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b | ProHoster","og:description":"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 pgrust \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0421\u0423\u0411\u0414 PostgreSQL, \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0442\u043e\u0440\u0430 c2rust \u0438 AI-\u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u0430.","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/pgrust-klon-postgresql-na-rust-prohodyashhij-vse-regressionnye-testy","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-07-10T08:53:26+00:00","article:modified_time":"2026-07-10T08:53:26+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"182581","title":null,"description":null,"keywords":null,"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-08-05 12:22:05","updated":"2026-08-05 12:22:05","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/182581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=182581"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/182581\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=182581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=182581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=182581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}