Discussion:
[JIRA] Created: (MYO-87) Implement function call command
Gilles Rayrat (JIRA)
2009-04-08 10:54:55 UTC
Permalink
Implement function call command
-------------------------------

Key: MYO-87
URL: https://forge.continuent.org/jira/browse/MYO-87
Project: Myosotis
Type: New Feature

Components: PostgreSQL protocol
Reporter: Gilles Rayrat
Assigned to: Gilles Rayrat
Fix For: 0.8


Command 'F' and friends are not implemented
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Gilles Rayrat (JIRA)
2009-04-08 10:54:55 UTC
Permalink
[ https://forge.continuent.org/jira/browse/MYO-87?page=comments#action_15429 ]

Gilles Rayrat commented on MYO-87:
----------------------------------

FunctionCall (F)

Byte1('F')

Identifies the message as a function call.
Int32

Length of message contents in bytes, including self.
Int32

Specifies the object ID of the function to call.
Int16

The number of argument format codes that follow (denoted C below). This can be zero to indicate that there are no arguments or that the arguments all use the default format (text); or one, in which case the specified format code is applied to all arguments; or it can equal the actual number of arguments.
Int16[C]

The argument format codes. Each must presently be zero (text) or one (binary).
Int16

Specifies the number of arguments being supplied to the function.

Next, the following pair of fields appear for each argument:

Int32

The length of the argument value, in bytes (this count does not include itself). Can be zero. As a special case, -1 indicates a NULL argument value. No value bytes follow in the NULL case.
Byten

The value of the argument, in the format indicated by the associated format code. n is the above length.

After the last argument, the following field appears:

Int16

The format code for the function result. Must presently be zero (text) or one (binary).
Post by Gilles Rayrat (JIRA)
Implement function call command
-------------------------------
Key: MYO-87
URL: https://forge.continuent.org/jira/browse/MYO-87
Project: Myosotis
Type: New Feature
Components: PostgreSQL protocol
Reporter: Gilles Rayrat
Assignee: Gilles Rayrat
Fix For: 0.8
Command 'F' and friends are not implemented
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Loading...