Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
Chapter 41. Procedural Languages
Prev UpPart V. Server ProgrammingHome Next

Chapter 41. Procedural Languages

Postgres Pro allows user-defined functions to be written in other languages besides SQL and C. These other languages are generically calledprocedural languages (PLs). For a function written in a procedural language, the database server has no built-in knowledge about how to interpret the function's source text. Instead, the task is passed to a special handler that knows the details of the language. The handler could either do all the work of parsing, syntax analysis, execution, etc. itself, or it could serve asglue betweenPostgres Pro and an existing implementation of a programming language. The handler itself is a C language function compiled into a shared object and loaded on demand, just like any other C function.

There are currently four procedural languages available in the standardPostgres Pro distribution:PL/pgSQL (Chapter 42),PL/Tcl (Chapter 43),PL/Perl (Chapter 44), andPL/Python (Chapter 45). There are additional procedural languages available that are not included in the core distribution.Appendix J has information about finding them. In addition other languages can be defined by users; the basics of developing a new procedural language are covered inChapter 53.


Prev Up Next
40.7. Rules Versus Triggers Home 41.1. Installing Procedural Languages
pdfepub
Go to Postgres Pro Standard 14
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp