diff options
Diffstat (limited to 'doc/src/sgml/plperl.sgml')
| -rw-r--r-- | doc/src/sgml/plperl.sgml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index 011b9792325..6f018645f11 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -468,8 +468,8 @@ optional maximum number of rows: $rv = spi_exec_query('SELECT * FROM my_table', 5); </programlisting> This returns up to 5 rows from the table - <literal>my_table</literal>. If <literal>my_table</literal> - has a column <literal>my_column</literal>, you can get that + <structname>my_table</structname>. If <structname>my_table</structname> + has a column <structfield>my_column</structfield>, you can get that value from row <literal>$i</literal> of the result like this: <programlisting> $foo = $rv->{rows}[$i]->{my_column}; @@ -1199,7 +1199,7 @@ $$ LANGUAGE plperl; <term><literal>$_TD->{new}{foo}</literal></term> <listitem> <para> - <literal>NEW</literal> value of column <literal>foo</literal> + <literal>NEW</literal> value of column <structfield>foo</structfield> </para> </listitem> </varlistentry> @@ -1208,7 +1208,7 @@ $$ LANGUAGE plperl; <term><literal>$_TD->{old}{foo}</literal></term> <listitem> <para> - <literal>OLD</literal> value of column <literal>foo</literal> + <literal>OLD</literal> value of column <structfield>foo</structfield> </para> </listitem> </varlistentry> |
