https://github.com/plv8/pljs Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Customer Stories + White papers, Ebooks, Webinars + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. {{ message }} plv8 / pljs Public * Notifications * Fork 0 * Star 8 PLJS - Javascript Language Plugin for PostreSQL License View license 8 stars 0 forks Activity Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights plv8/pljs This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/p] Use Git or checkout with SVN using the web URL. [gh repo clone plv8/p] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @JerrySievert JerrySievert some major functionality ... 4a7f3c5 Jun 5, 2023 some major functionality 4a7f3c5 Git stats * 2 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time deps cache working February 27, 2022 15:58 expected some major functionality June 4, 2023 20:35 sql some major functionality June 4, 2023 20:35 src some major functionality June 4, 2023 20:35 .clang-format some major functionality June 4, 2023 20:35 .gitignore some major functionality June 4, 2023 20:35 .gitmodules cache working February 27, 2022 15:58 LICENSE some major functionality June 4, 2023 20:35 Makefile some major functionality June 4, 2023 20:35 README.md some major functionality June 4, 2023 20:35 pljs--0.1.0.sql some major functionality June 4, 2023 20:35 pljs.control some major functionality June 4, 2023 20:35 pljs.sql some major functionality June 4, 2023 20:35 View code PLJS Technology Current Status FAQ README.md PLJS PLJS is a Javascript Language Extension for "modern" PostgreSQL. It is compact, lightweight, and decently fast. Technology Javascript: QuickJS PostgreSQL: 14+ Current Status Very early. It compiles, and is on track to match functionality of PLV8. Missing: * Triggers * Composite Types * Windows * return_next() * startup functions Also, WASM will likely never be added to this extension. FAQ Q. Is this a replacement for PLV8? A. For general cases, no. PLJS is built to be compact and lightweight, as well as easy to build and maintain. It uses QuickJS as the Javascript engine instead of using V8. This makes for a very lightweight build with a tradeoff for speed. Q. How fast is it compared to PLV8? A. We shall see, there will be tradeoffs, and before 1.0 release, any tradeoffs will be well documented. Help is always welcome when there is a specific use-case that can be distilled into a simple benchmark. About PLJS - Javascript Language Plugin for PostreSQL Resources Readme License View license Activity Stars 8 stars Watchers 4 watching Forks 0 forks Report repository Releases No releases published Packages 0 No packages published Languages * C 85.7% * PLpgSQL 12.4% * Makefile 1.9% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.