summaryrefslogtreecommitdiffstats
path: root/doc/src/sgml/html/plperl-data.html
blob: 5d91161a0e1c4b929809b157c3ff6cea9db3cdf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>44.2. Data Values in PL/Perl</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="plperl-funcs.html" title="44.1. PL/Perl Functions and Arguments" /><link rel="next" href="plperl-builtins.html" title="44.3. Built-in Functions" /></head><body id="docContent" class="container-fluid col-10"><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">44.2. Data Values in PL/Perl</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="plperl-funcs.html" title="44.1. PL/Perl Functions and Arguments">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="plperl.html" title="Chapter 44. PL/Perl — Perl Procedural Language">Up</a></td><th width="60%" align="center">Chapter 44. PL/Perl — Perl Procedural Language</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 13.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="plperl-builtins.html" title="44.3. Built-in Functions">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="PLPERL-DATA"><div class="titlepage"><div><div><h2 class="title" style="clear: both">44.2. Data Values in PL/Perl</h2></div></div></div><p>
   The argument values supplied to a PL/Perl function's code are
   simply the input arguments converted to text form (just as if they
   had been displayed by a <code class="command">SELECT</code> statement).
   Conversely, the <code class="function">return</code> and <code class="function">return_next</code>
   commands will accept any string that is acceptable input format
   for the function's declared return type.
  </p><p>
   If this behavior is inconvenient for a particular case, it can be
   improved by using a transform, as already illustrated
   for <code class="type">bool</code> values.  Several examples of transform modules
   are included in the <span class="productname">PostgreSQL</span> distribution.
  </p></div><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navfooter"><hr></hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="plperl-funcs.html" title="44.1. PL/Perl Functions and Arguments">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="plperl.html" title="Chapter 44. PL/Perl — Perl Procedural Language">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="plperl-builtins.html" title="44.3. Built-in Functions">Next</a></td></tr><tr><td width="40%" align="left" valign="top">44.1. PL/Perl Functions and Arguments </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 13.4 Documentation">Home</a></td><td width="40%" align="right" valign="top"> 44.3. Built-in Functions</td></tr></table></div></body></html>