Composite Types and Function Parameters

Поиск
Список
Период
Сортировка
От Greg
Тема Composite Types and Function Parameters
Дата
Msg-id 438246.84032.qm@web29703.mail.ird.yahoo.com
обсуждение исходный текст
Ответы Re: Composite Types and Function Parameters  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
<table border="0" cellpadding="0" cellspacing="0"><tr><td style="font: inherit;" valign="top">Hi guys, got across an
interestingproblem of passing params to a function in postgre: is it possible to pass a composite parameter to a
functionwithout declaring a type first? <br /><br />For example:<br /><br />// declare a function<br />create function
TEST( object??? )<br />   ....<br />   object???.paramName    // using parameter<br />   ....<br /><br />// calling<br
/>performTEST( ROW(string, int, bool, etc...) )<br /><br />Or do I have to do the type declaration for that
parameter?<br/><br />Thanks!<br /></td></tr></table><br /> 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: add label to enum syntax
Следующее
От: Robert Haas
Дата:
Сообщение: Re: add label to enum syntax