PL/pgSQLでは例外発生してEXCEPTION節に入ると自動的にロールバックされます。 PL/SQLではユーザがトランザクションの扱いを記述する ため、この差を埋めるのがしばしば難しい移行となります。 シナリオ例:複数のUPDATE文の途中でエラーが発生した場合 ...
PostgreSQLでは,いろいろな言語を使ってユーザー定義関数を書くことができる。代表的なものとしては,PL/pgSQLというSQLに ...
インプレスグループで電子出版事業を手がける株式会社インプレスR&Dは、『わたしとぼくのPL/pgSQL』(著者:目黒 聖)を ...
In this section and the following ones, we describe all the statement types that are explicitly understood by PL/pgSQL. Anything not recognized as one of these statement types is presumed to be an SQL ...
As explained above, the expression in such a statement is evaluated by means of an SQL SELECT command sent to the main database engine. The expression must yield a single value. If the expression's ...
Some of the environment variables that are accepted by the Python interpreter can also be used to affect PL/Python behavior. They would need to be set in the environment of the main PostgreSQL server ...
Usually databases are treated primarily as fairly dumb data storage systems, but they can be capable of much more. Case in point the PostgreSQL database and its – Ada-based – PL/pgSQL programming ...