Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
36.3. User-Defined Functions
Prev UpChapter 36. ExtendingSQLHome Next

36.3. User-Defined Functions#

Postgres Pro provides four kinds of functions:

Every kind of function can take base types, composite types, or combinations of these as arguments (parameters). In addition, every kind of function can return a base type or a composite type. Functions can also be defined to return sets of base or composite values.

Many kinds of functions can take or return certain pseudo-types (such as polymorphic types), but the available facilities vary. Consult the description of each kind of function for more details.

It's easiest to defineSQL functions, so we'll start by discussing those. Most of the concepts presented forSQL functions will carry over to the other types of functions.

Throughout this chapter, it can be useful to look at the reference page of theCREATE FUNCTION command to understand the examples better.


Prev Up Next
36.2. ThePostgres Pro Type System Home 36.4. User-Defined Procedures
pdfepub
Go to Postgres Pro Standard 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp