Commit 6403c35e authored by Alvaro Herrera's avatar Alvaro Herrera

Fix manpages related to SPI functions.

This patch adds declaration so that they end up in section 3, and adds
them to the Makefiles to install them.

Also, some synopses needed reflowing so that they look nice in 80-column
terminals.
parent 25bd9ce3
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
# Copyright (c) 1994, Regents of the University of California # Copyright (c) 1994, Regents of the University of California
# #
# $PostgreSQL: pgsql/doc/Makefile,v 1.37 2009/06/27 21:06:46 tgl Exp $ # $PostgreSQL: pgsql/doc/Makefile,v 1.38 2009/08/05 19:31:49 alvherre Exp $
# #
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
...@@ -47,9 +47,9 @@ fix_sqlmansectnum = sed -e '/^\.TH/s/"7"/"$(sqlmansect)"/' \ ...@@ -47,9 +47,9 @@ fix_sqlmansectnum = sed -e '/^\.TH/s/"7"/"$(sqlmansect)"/' \
-e 's/\\fR(7)/\\fR($(sqlmansectnum))/g' \ -e 's/\\fR(7)/\\fR($(sqlmansectnum))/g' \
-e '1s/^\.so man7/.so man$(sqlmansectnum)/g;1s/^\(\.so.*\)\.7$$/\1.$(sqlmansect)/g' -e '1s/^\.so man7/.so man$(sqlmansectnum)/g;1s/^\(\.so.*\)\.7$$/\1.$(sqlmansect)/g'
all: man1/.timestamp man$(sqlmansectnum)/.timestamp all: man1/.timestamp man3/.timestamp man$(sqlmansectnum)/.timestamp
man1/.timestamp: man7/.timestamp man1/.timestamp man3/.timestamp: man7/.timestamp
@echo timestamp >$@ @echo timestamp >$@
man7/.timestamp: man.tar.gz man7/.timestamp: man.tar.gz
...@@ -79,7 +79,7 @@ ifdef found_html ...@@ -79,7 +79,7 @@ ifdef found_html
gzip -d -c $(srcdir)/postgres.tar.gz | ( cd $(DESTDIR)$(htmldir)/html && $(TAR) xf - ) gzip -d -c $(srcdir)/postgres.tar.gz | ( cd $(DESTDIR)$(htmldir)/html && $(TAR) xf - )
endif endif
ifdef found_man ifdef found_man
for file in man1/*.1 man$(sqlmansectnum)/*.$(sqlmansect) ; do \ for file in man1/*.1 man3/*.3 man$(sqlmansectnum)/*.$(sqlmansect) ; do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/$$file || exit; \ $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/$$file || exit; \
done done
endif endif
...@@ -90,7 +90,7 @@ ifdef found_html ...@@ -90,7 +90,7 @@ ifdef found_html
$(mkinstalldirs) '$(DESTDIR)$(htmldir)'/html $(mkinstalldirs) '$(DESTDIR)$(htmldir)'/html
endif endif
ifdef found_man ifdef found_man
$(mkinstalldirs) $(addprefix '$(DESTDIR)$(mandir)'/man, 1 $(sqlmansectnum)) $(mkinstalldirs) $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum))
endif endif
...@@ -104,5 +104,5 @@ endif ...@@ -104,5 +104,5 @@ endif
clean distclean maintainer-clean: clean distclean maintainer-clean:
rm -rf man1/ man7/ man$(sqlmansectnum)/ rm -rf man1/ man3/ man7/ man$(sqlmansectnum)/
$(MAKE) -C src $@ $(MAKE) -C src $@
# Postgres documentation makefile # Postgres documentation makefile
# $PostgreSQL: pgsql/doc/src/Makefile,v 1.35 2008/11/14 10:43:59 petere Exp $ # $PostgreSQL: pgsql/doc/src/Makefile,v 1.36 2009/08/05 19:31:50 alvherre Exp $
subdir = doc/src subdir = doc/src
top_builddir = ../.. top_builddir = ../..
...@@ -15,4 +15,4 @@ postgres.tar: ...@@ -15,4 +15,4 @@ postgres.tar:
man.tar: man.tar:
$(MAKE) -C sgml man $(MAKE) -C sgml man
$(TAR) -cf $@ -C sgml man1 man7 $(TAR) -cf $@ -C sgml man1 man3 man7
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# PostgreSQL documentation makefile # PostgreSQL documentation makefile
# #
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.120 2009/08/04 22:04:37 petere Exp $ # $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.121 2009/08/05 19:31:50 alvherre Exp $
# #
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
...@@ -74,7 +74,7 @@ man: man-stamp ...@@ -74,7 +74,7 @@ man: man-stamp
man-stamp: stylesheet-man.xsl postgres.xml man-stamp: stylesheet-man.xsl postgres.xml
$(XSLTPROC) $(XSLTPROCFLAGS) $^ $(XSLTPROC) $(XSLTPROCFLAGS) $^
rm man1/SPI* man1/dblink* rm man1/dblink*
touch $@ touch $@
...@@ -269,7 +269,7 @@ clean distclean maintainer-clean: ...@@ -269,7 +269,7 @@ clean distclean maintainer-clean:
# HTML # HTML
rm -f *.html html-stamp rm -f *.html html-stamp
# man # man
rm -rf man1 man7 man-stamp rm -rf man1 man3 man7 man-stamp
# print # print
rm -f *.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.fot rm -f *.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.fot
# index # index
......
<!-- $PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.64 2009/01/21 11:02:40 heikki Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.65 2009/08/05 19:31:50 alvherre Exp $ -->
<chapter id="spi"> <chapter id="spi">
<title>Server Programming Interface</title> <title>Server Programming Interface</title>
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
<refentry id="spi-spi-connect"> <refentry id="spi-spi-connect">
<refmeta> <refmeta>
<refentrytitle>SPI_connect</refentrytitle> <refentrytitle>SPI_connect</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -136,6 +137,7 @@ int SPI_connect(void) ...@@ -136,6 +137,7 @@ int SPI_connect(void)
<refentry id="spi-spi-finish"> <refentry id="spi-spi-finish">
<refmeta> <refmeta>
<refentrytitle>SPI_finish</refentrytitle> <refentrytitle>SPI_finish</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -201,6 +203,7 @@ int SPI_finish(void) ...@@ -201,6 +203,7 @@ int SPI_finish(void)
<refentry id="spi-spi-push"> <refentry id="spi-spi-push">
<refmeta> <refmeta>
<refentrytitle>SPI_push</refentrytitle> <refentrytitle>SPI_push</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -248,6 +251,7 @@ void SPI_push(void) ...@@ -248,6 +251,7 @@ void SPI_push(void)
<refentry id="spi-spi-pop"> <refentry id="spi-spi-pop">
<refmeta> <refmeta>
<refentrytitle>SPI_pop</refentrytitle> <refentrytitle>SPI_pop</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -279,6 +283,7 @@ void SPI_pop(void) ...@@ -279,6 +283,7 @@ void SPI_pop(void)
<refentry id="spi-spi-execute"> <refentry id="spi-spi-execute">
<refmeta> <refmeta>
<refentrytitle>SPI_execute</refentrytitle> <refentrytitle>SPI_execute</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -625,6 +630,7 @@ typedef struct ...@@ -625,6 +630,7 @@ typedef struct
<refentry id="spi-spi-exec"> <refentry id="spi-spi-exec">
<refmeta> <refmeta>
<refentrytitle>SPI_exec</refentrytitle> <refentrytitle>SPI_exec</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -689,6 +695,7 @@ int SPI_exec(const char * <parameter>command</parameter>, long <parameter>count< ...@@ -689,6 +695,7 @@ int SPI_exec(const char * <parameter>command</parameter>, long <parameter>count<
<refentry id="spi-spi-execute-with-args"> <refentry id="spi-spi-execute-with-args">
<refmeta> <refmeta>
<refentrytitle>SPI_execute_with_args</refentrytitle> <refentrytitle>SPI_execute_with_args</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -833,6 +840,7 @@ int SPI_execute_with_args(const char *<parameter>command</parameter>, ...@@ -833,6 +840,7 @@ int SPI_execute_with_args(const char *<parameter>command</parameter>,
<refentry id="spi-spi-prepare"> <refentry id="spi-spi-prepare">
<refmeta> <refmeta>
<refentrytitle>SPI_prepare</refentrytitle> <refentrytitle>SPI_prepare</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -956,6 +964,7 @@ SPIPlanPtr SPI_prepare(const char * <parameter>command</parameter>, int <paramet ...@@ -956,6 +964,7 @@ SPIPlanPtr SPI_prepare(const char * <parameter>command</parameter>, int <paramet
<refentry id="spi-spi-prepare-cursor"> <refentry id="spi-spi-prepare-cursor">
<refmeta> <refmeta>
<refentrytitle>SPI_prepare_cursor</refentrytitle> <refentrytitle>SPI_prepare_cursor</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -967,7 +976,8 @@ SPIPlanPtr SPI_prepare(const char * <parameter>command</parameter>, int <paramet ...@@ -967,7 +976,8 @@ SPIPlanPtr SPI_prepare(const char * <parameter>command</parameter>, int <paramet
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
SPIPlanPtr SPI_prepare_cursor(const char * <parameter>command</parameter>, int <parameter>nargs</parameter>, Oid * <parameter>argtypes</parameter>, int <parameter>cursorOptions</parameter>) SPIPlanPtr SPI_prepare_cursor(const char * <parameter>command</parameter>, int <parameter>nargs</parameter>,
Oid * <parameter>argtypes</parameter>, int <parameter>cursorOptions</parameter>)
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -1054,6 +1064,7 @@ SPIPlanPtr SPI_prepare_cursor(const char * <parameter>command</parameter>, int < ...@@ -1054,6 +1064,7 @@ SPIPlanPtr SPI_prepare_cursor(const char * <parameter>command</parameter>, int <
<refentry id="spi-spi-getargcount"> <refentry id="spi-spi-getargcount">
<refmeta> <refmeta>
<refentrytitle>SPI_getargcount</refentrytitle> <refentrytitle>SPI_getargcount</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1110,6 +1121,7 @@ int SPI_getargcount(SPIPlanPtr <parameter>plan</parameter>) ...@@ -1110,6 +1121,7 @@ int SPI_getargcount(SPIPlanPtr <parameter>plan</parameter>)
<refentry id="spi-spi-getargtypeid"> <refentry id="spi-spi-getargtypeid">
<refmeta> <refmeta>
<refentrytitle>SPI_getargtypeid</refentrytitle> <refentrytitle>SPI_getargtypeid</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1179,6 +1191,7 @@ Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argI ...@@ -1179,6 +1191,7 @@ Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argI
<refentry id="spi-spi-is-cursor-plan"> <refentry id="spi-spi-is-cursor-plan">
<refmeta> <refmeta>
<refentrytitle>SPI_is_cursor_plan</refentrytitle> <refentrytitle>SPI_is_cursor_plan</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1247,6 +1260,7 @@ bool SPI_is_cursor_plan(SPIPlanPtr <parameter>plan</parameter>) ...@@ -1247,6 +1260,7 @@ bool SPI_is_cursor_plan(SPIPlanPtr <parameter>plan</parameter>)
<refentry id="spi-spi-execute-plan"> <refentry id="spi-spi-execute-plan">
<refmeta> <refmeta>
<refentrytitle>SPI_execute_plan</refentrytitle> <refentrytitle>SPI_execute_plan</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1389,6 +1403,7 @@ int SPI_execute_plan(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter> ...@@ -1389,6 +1403,7 @@ int SPI_execute_plan(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter>
<refentry id="spi-spi-execp"> <refentry id="spi-spi-execp">
<refmeta> <refmeta>
<refentrytitle>SPI_execp</refentrytitle> <refentrytitle>SPI_execp</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1488,6 +1503,7 @@ int SPI_execp(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter>values< ...@@ -1488,6 +1503,7 @@ int SPI_execp(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter>values<
<refentry id="spi-spi-cursor-open"> <refentry id="spi-spi-cursor-open">
<refmeta> <refmeta>
<refentrytitle>SPI_cursor_open</refentrytitle> <refentrytitle>SPI_cursor_open</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1610,6 +1626,7 @@ Portal SPI_cursor_open(const char * <parameter>name</parameter>, SPIPlanPtr <par ...@@ -1610,6 +1626,7 @@ Portal SPI_cursor_open(const char * <parameter>name</parameter>, SPIPlanPtr <par
<refentry id="spi-spi-cursor-open-with-args"> <refentry id="spi-spi-cursor-open-with-args">
<refmeta> <refmeta>
<refentrytitle>SPI_cursor_open_with_args</refentrytitle> <refentrytitle>SPI_cursor_open_with_args</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1756,6 +1773,7 @@ Portal SPI_cursor_open_with_args(const char *<parameter>name</parameter>, ...@@ -1756,6 +1773,7 @@ Portal SPI_cursor_open_with_args(const char *<parameter>name</parameter>,
<refentry id="spi-spi-cursor-find"> <refentry id="spi-spi-cursor-find">
<refmeta> <refmeta>
<refentrytitle>SPI_cursor_find</refentrytitle> <refentrytitle>SPI_cursor_find</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1811,6 +1829,7 @@ Portal SPI_cursor_find(const char * <parameter>name</parameter>) ...@@ -1811,6 +1829,7 @@ Portal SPI_cursor_find(const char * <parameter>name</parameter>)
<refentry id="spi-spi-cursor-fetch"> <refentry id="spi-spi-cursor-fetch">
<refmeta> <refmeta>
<refentrytitle>SPI_cursor_fetch</refentrytitle> <refentrytitle>SPI_cursor_fetch</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1895,6 +1914,7 @@ void SPI_cursor_fetch(Portal <parameter>portal</parameter>, bool <parameter>forw ...@@ -1895,6 +1914,7 @@ void SPI_cursor_fetch(Portal <parameter>portal</parameter>, bool <parameter>forw
<refentry id="spi-spi-cursor-move"> <refentry id="spi-spi-cursor-move">
<refmeta> <refmeta>
<refentrytitle>SPI_cursor_move</refentrytitle> <refentrytitle>SPI_cursor_move</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1969,6 +1989,7 @@ void SPI_cursor_move(Portal <parameter>portal</parameter>, bool <parameter>forwa ...@@ -1969,6 +1989,7 @@ void SPI_cursor_move(Portal <parameter>portal</parameter>, bool <parameter>forwa
<refentry id="spi-spi-scroll-cursor-fetch"> <refentry id="spi-spi-scroll-cursor-fetch">
<refmeta> <refmeta>
<refentrytitle>SPI_scroll_cursor_fetch</refentrytitle> <refentrytitle>SPI_scroll_cursor_fetch</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -1980,7 +2001,8 @@ void SPI_cursor_move(Portal <parameter>portal</parameter>, bool <parameter>forwa ...@@ -1980,7 +2001,8 @@ void SPI_cursor_move(Portal <parameter>portal</parameter>, bool <parameter>forwa
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirection <parameter>direction</parameter>, long <parameter>count</parameter>) void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirection <parameter>direction</parameter>,
long <parameter>count</parameter>)
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -2066,6 +2088,7 @@ void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirectio ...@@ -2066,6 +2088,7 @@ void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirectio
<refentry id="spi-spi-scroll-cursor-move"> <refentry id="spi-spi-scroll-cursor-move">
<refmeta> <refmeta>
<refentrytitle>SPI_scroll_cursor_move</refentrytitle> <refentrytitle>SPI_scroll_cursor_move</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2077,7 +2100,8 @@ void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirectio ...@@ -2077,7 +2100,8 @@ void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirectio
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
void SPI_scroll_cursor_move(Portal <parameter>portal</parameter>, FetchDirection <parameter>direction</parameter>, long <parameter>count</parameter>) void SPI_scroll_cursor_move(Portal <parameter>portal</parameter>, FetchDirection <parameter>direction</parameter>,
long <parameter>count</parameter>)
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -2165,6 +2189,7 @@ void SPI_scroll_cursor_move(Portal <parameter>portal</parameter>, FetchDirection ...@@ -2165,6 +2189,7 @@ void SPI_scroll_cursor_move(Portal <parameter>portal</parameter>, FetchDirection
<refentry id="spi-spi-cursor-close"> <refentry id="spi-spi-cursor-close">
<refmeta> <refmeta>
<refentrytitle>SPI_cursor_close</refentrytitle> <refentrytitle>SPI_cursor_close</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2216,6 +2241,7 @@ void SPI_cursor_close(Portal <parameter>portal</parameter>) ...@@ -2216,6 +2241,7 @@ void SPI_cursor_close(Portal <parameter>portal</parameter>)
<refentry id="spi-spi-saveplan"> <refentry id="spi-spi-saveplan">
<refmeta> <refmeta>
<refentrytitle>SPI_saveplan</refentrytitle> <refentrytitle>SPI_saveplan</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2327,6 +2353,7 @@ SPIPlanPtr SPI_saveplan(SPIPlanPtr <parameter>plan</parameter>) ...@@ -2327,6 +2353,7 @@ SPIPlanPtr SPI_saveplan(SPIPlanPtr <parameter>plan</parameter>)
<refentry id="spi-spi-fname"> <refentry id="spi-spi-fname">
<refmeta> <refmeta>
<refentrytitle>SPI_fname</refentrytitle> <refentrytitle>SPI_fname</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2393,6 +2420,7 @@ char * SPI_fname(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnum ...@@ -2393,6 +2420,7 @@ char * SPI_fname(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnum
<refentry id="spi-spi-fnumber"> <refentry id="spi-spi-fnumber">
<refmeta> <refmeta>
<refentrytitle>SPI_fnumber</refentrytitle> <refentrytitle>SPI_fnumber</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2466,6 +2494,7 @@ int SPI_fnumber(TupleDesc <parameter>rowdesc</parameter>, const char * <paramete ...@@ -2466,6 +2494,7 @@ int SPI_fnumber(TupleDesc <parameter>rowdesc</parameter>, const char * <paramete
<refentry id="spi-spi-getvalue"> <refentry id="spi-spi-getvalue">
<refmeta> <refmeta>
<refentrytitle>SPI_getvalue</refentrytitle> <refentrytitle>SPI_getvalue</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2549,6 +2578,7 @@ char * SPI_getvalue(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r ...@@ -2549,6 +2578,7 @@ char * SPI_getvalue(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r
<refentry id="spi-spi-getbinval"> <refentry id="spi-spi-getbinval">
<refmeta> <refmeta>
<refentrytitle>SPI_getbinval</refentrytitle> <refentrytitle>SPI_getbinval</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2560,7 +2590,8 @@ char * SPI_getvalue(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r ...@@ -2560,7 +2590,8 @@ char * SPI_getvalue(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
Datum SPI_getbinval(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnumber</parameter>, bool * <parameter>isnull</parameter>) Datum SPI_getbinval(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnumber</parameter>,
bool * <parameter>isnull</parameter>)
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -2642,6 +2673,7 @@ Datum SPI_getbinval(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r ...@@ -2642,6 +2673,7 @@ Datum SPI_getbinval(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r
<refentry id="spi-spi-gettype"> <refentry id="spi-spi-gettype">
<refmeta> <refmeta>
<refentrytitle>SPI_gettype</refentrytitle> <refentrytitle>SPI_gettype</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2707,6 +2739,7 @@ char * SPI_gettype(TupleDesc <parameter>rowdesc</parameter>, int <parameter>coln ...@@ -2707,6 +2739,7 @@ char * SPI_gettype(TupleDesc <parameter>rowdesc</parameter>, int <parameter>coln
<refentry id="spi-spi-gettypeid"> <refentry id="spi-spi-gettypeid">
<refmeta> <refmeta>
<refentrytitle>SPI_gettypeid</refentrytitle> <refentrytitle>SPI_gettypeid</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2772,6 +2805,7 @@ Oid SPI_gettypeid(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnu ...@@ -2772,6 +2805,7 @@ Oid SPI_gettypeid(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnu
<refentry id="spi-spi-getrelname"> <refentry id="spi-spi-getrelname">
<refmeta> <refmeta>
<refentrytitle>SPI_getrelname</refentrytitle> <refentrytitle>SPI_getrelname</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2824,6 +2858,7 @@ char * SPI_getrelname(Relation <parameter>rel</parameter>) ...@@ -2824,6 +2858,7 @@ char * SPI_getrelname(Relation <parameter>rel</parameter>)
<refentry id="spi-spi-getnspname"> <refentry id="spi-spi-getnspname">
<refmeta> <refmeta>
<refentrytitle>SPI_getnspname</refentrytitle> <refentrytitle>SPI_getnspname</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -2955,6 +2990,7 @@ char * SPI_getnspname(Relation <parameter>rel</parameter>) ...@@ -2955,6 +2990,7 @@ char * SPI_getnspname(Relation <parameter>rel</parameter>)
<refentry id="spi-spi-palloc"> <refentry id="spi-spi-palloc">
<refmeta> <refmeta>
<refentrytitle>SPI_palloc</refentrytitle> <refentrytitle>SPI_palloc</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -3008,6 +3044,7 @@ void * SPI_palloc(Size <parameter>size</parameter>) ...@@ -3008,6 +3044,7 @@ void * SPI_palloc(Size <parameter>size</parameter>)
<refentry id="spi-realloc"> <refentry id="spi-realloc">
<refmeta> <refmeta>
<refentrytitle>SPI_repalloc</refentrytitle> <refentrytitle>SPI_repalloc</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -3077,6 +3114,7 @@ void * SPI_repalloc(void * <parameter>pointer</parameter>, Size <parameter>size< ...@@ -3077,6 +3114,7 @@ void * SPI_repalloc(void * <parameter>pointer</parameter>, Size <parameter>size<
<refentry id="spi-spi-pfree"> <refentry id="spi-spi-pfree">
<refmeta> <refmeta>
<refentrytitle>SPI_pfree</refentrytitle> <refentrytitle>SPI_pfree</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -3129,6 +3167,7 @@ void SPI_pfree(void * <parameter>pointer</parameter>) ...@@ -3129,6 +3167,7 @@ void SPI_pfree(void * <parameter>pointer</parameter>)
<refentry id="spi-spi-copytuple"> <refentry id="spi-spi-copytuple">
<refmeta> <refmeta>
<refentrytitle>SPI_copytuple</refentrytitle> <refentrytitle>SPI_copytuple</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -3185,6 +3224,7 @@ HeapTuple SPI_copytuple(HeapTuple <parameter>row</parameter>) ...@@ -3185,6 +3224,7 @@ HeapTuple SPI_copytuple(HeapTuple <parameter>row</parameter>)
<refentry id="spi-spi-returntuple"> <refentry id="spi-spi-returntuple">
<refmeta> <refmeta>
<refentrytitle>SPI_returntuple</refentrytitle> <refentrytitle>SPI_returntuple</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -3259,6 +3299,7 @@ HeapTupleHeader SPI_returntuple(HeapTuple <parameter>row</parameter>, TupleDesc ...@@ -3259,6 +3299,7 @@ HeapTupleHeader SPI_returntuple(HeapTuple <parameter>row</parameter>, TupleDesc
<refentry id="spi-spi-modifytuple"> <refentry id="spi-spi-modifytuple">
<refmeta> <refmeta>
<refentrytitle>SPI_modifytuple</refentrytitle> <refentrytitle>SPI_modifytuple</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -3270,7 +3311,8 @@ HeapTupleHeader SPI_returntuple(HeapTuple <parameter>row</parameter>, TupleDesc ...@@ -3270,7 +3311,8 @@ HeapTupleHeader SPI_returntuple(HeapTuple <parameter>row</parameter>, TupleDesc
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
HeapTuple SPI_modifytuple(Relation <parameter>rel</parameter>, HeapTuple <parameter>row</parameter>, <parameter>ncols</parameter>, <parameter>colnum</parameter>, Datum * <parameter>values</parameter>, const char * <parameter>nulls</parameter>) HeapTuple SPI_modifytuple(Relation <parameter>rel</parameter>, HeapTuple <parameter>row</parameter>, int <parameter>ncols</parameter>,
int * <parameter>colnum</parameter>, Datum * <parameter>values</parameter>, const char * <parameter>nulls</parameter>)
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -3393,6 +3435,7 @@ HeapTuple SPI_modifytuple(Relation <parameter>rel</parameter>, HeapTuple <parame ...@@ -3393,6 +3435,7 @@ HeapTuple SPI_modifytuple(Relation <parameter>rel</parameter>, HeapTuple <parame
<refentry id="spi-spi-freetuple"> <refentry id="spi-spi-freetuple">
<refmeta> <refmeta>
<refentrytitle>SPI_freetuple</refentrytitle> <refentrytitle>SPI_freetuple</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -3444,6 +3487,7 @@ void SPI_freetuple(HeapTuple <parameter>row</parameter>) ...@@ -3444,6 +3487,7 @@ void SPI_freetuple(HeapTuple <parameter>row</parameter>)
<refentry id="spi-spi-freetupletable"> <refentry id="spi-spi-freetupletable">
<refmeta> <refmeta>
<refentrytitle>SPI_freetuptable</refentrytitle> <refentrytitle>SPI_freetuptable</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
...@@ -3500,6 +3544,7 @@ void SPI_freetuptable(SPITupleTable * <parameter>tuptable</parameter>) ...@@ -3500,6 +3544,7 @@ void SPI_freetuptable(SPITupleTable * <parameter>tuptable</parameter>)
<refentry id="spi-spi-freeplan"> <refentry id="spi-spi-freeplan">
<refmeta> <refmeta>
<refentrytitle>SPI_freeplan</refentrytitle> <refentrytitle>SPI_freeplan</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment