plisql
PL/iSQL procedural language
ivorysql : PL/iSQL procedural language
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 9180 | plisql | ivorysql | 1.0 |
SIM | Apache-2.0 | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-dt- | No | Yes | No | Yes | no | yes |
| Relationships | |
|---|---|
| Schemas | pg_catalog |
| See Also | plpgsql plpgsql_wrap plx orafce db2fce |
| Siblings | ivorysql_ora ora_btree_gin ora_btree_gist pg_get_functiondef gb18030_2022 |
from src/pl/plisql/src/plisql.control and IvorySQL package metadata
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0 |
18 17 16 15 14 | ivorysql |
- |
| RPM | PIGSTY | 5.4 |
18 17 16 15 14 | ivorysql-$v |
- |
| DEB | PIGSTY | 5.4 |
18 17 16 15 14 | ivorysql-$v |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el8.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el9.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el9.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el10.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| el10.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| d12.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| d12.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| d13.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| d13.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u22.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u22.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u24.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u24.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u26.x86_64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
| u26.aarch64 | PIGSTY 5.4 | N/A | N/A | N/A | N/A |
Source
github.com/IvorySQL/IvorySQL/tree/master/src/pl/plisql
ivorysql-5.4.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
PL/iSQL is an Oracle-compatible procedural language for PostgreSQL, provided by the IvorySQL project. It extends PL/pgSQL with Oracle PL/SQL syntax and semantics.
Enabling
Creating Functions
Oracle-Style Procedures
Key Features
- Oracle-style
BEGIN...ENDblocks IN,OUT,IN OUTparameter modes- Oracle-style exception handling with named exceptions
%TYPEand%ROWTYPEattribute references- Oracle-compatible cursor syntax (
CURSOR...IS,OPEN,FETCH,CLOSE) RETURNinstead ofRETURNSin function declarations- Package-like variable scoping
Differences from PL/pgSQL
- Uses
ASkeyword instead of$$delimiters - Supports Oracle-style
/as statement terminator VARCHAR2,NUMBER, and other Oracle types natively supported- Oracle-compatible
DBMS_OUTPUTintegration