8000 Cleanup message descriptions · emrul/postgres-async-driver@35b7846 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 35b7846

Browse files
committed
Cleanup message descriptions
1 parent 9e6b784 commit 35b7846

File tree

7 files changed

+8
-69
lines changed

7 files changed

+8
-69
lines changed

src/main/java/com/github/pgasync/impl/io/BindEncoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@
3636
* Int16[C]
3737
* The parameter format codes. Each must presently be zero (text) or one (binary).
3838
* Int16
39-
* The number of parameter values that follow (possibly zero). This must match the number of parameters needed by the queryRows.
39+
* The number of parameter values that follow (possibly zero). This must match the number of parameters needed by the query.
4040
* Next, the following pair of fields appear for each parameter:
4141
* Int32
4242
* The length of the parameter value, in bytes (this count does not include itself). Can be zero. As a special case, -1 indicates a NULL parameter value. No value bytes follow in the NULL case.
4343
* Byten
4444
* The value of the parameter, in the format indicated by the associated format code. n is the above length.
4545
* After the last parameter, the following fields appear:
4646
* Int16
47-
* The number of result-column format codes that follow (denoted R below). This can be zero to indicate that there are no result columns or that the result columns should all use the default format (text); or one, in which case the specified format code is applied to all result columns (if any); or it can equal the actual number of result columns of the queryRows.
47+
* The number of result-column format codes that follow (denoted R below). This can be zero to indicate that there are no result columns or that the result columns should all use the default format (text); or one, in which case the specified format code is applied to all result columns (if any); or it can equal the actual number of result columns of the query.
4848
* Int16[R]
4949
* The result-column format codes. Each must presently be zero (text) or one (binary).
5050
*</pre>

src/main/java/com/github/pgasync/impl/io/ExtendedQueryEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* String
4141
* The name of the portal to execute (an empty string selects the unnamed portal).
4242
* Int32
43-
* Maximum number of rows to return, if portal contains a queryRows that returns rows (ignored otherwise). Zero denotes "no limit".
43+
* Maximum number of rows to return, if portal contains a query that returns rows (ignored otherwise). Zero denotes "no limit".
4444
*
4545
* Sync (F)
4646
* Byte1('S')

src/main/java/com/github/pgasync/impl/io/ParseEncoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
* String
3333
* The name of the destination prepared statement (an empty string selects the unnamed prepared statement).
3434
* String
35-
* The queryRows string to be parsed.
35+
* The query string to be parsed.
3636
* Int16
37-
* The number of parameter data types specified (can be zero). Note that this is not an indication of the number of parameters that might appear in the queryRows string, only the number that the frontend wants to prespecify types for.
37+
* The number of parameter data types specified (can be zero). Note that this is not an indication of the number of parameters that might appear in the query string, only the number that the frontend wants to prespecify types for.
3838
* Then, for each parameter, there is the following:
3939
* Int32
4040
* Specifies the object ID of the parameter data type. Placing a zero here is equivalent to leaving the type unspecified.

src/main/java/com/github/pgasync/impl/io/QueryEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* <pre>
2727
* Query (F)
2828
* Byte1('Q')
29-
* Identifies the message as a simple queryRows.
29+
* Identifies the message as a simple query.
3030
* Int32
3131
* Length of message contents in bytes, including self.
3232
* String

src/main/java/com/github/pgasync/impl/io/ReadyForQueryDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* <pre>
2525
* ReadyForQuery (B)
2626
* Byte1('Z')
27-
* Identifies the message type. ReadyForQuery is sent whenever the backend is ready for a new queryRows cycle.
27+
* Identifies the message type. ReadyForQuery is sent whenever the backend is ready for a new query cycle.
2828
* Int32(5)
2929
* Length of message contents in bytes, including self.
3030
* Byte1

src/main/java/com/github/pgasync/impl/message/ExtendedQuery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package com.github.pgasync.impl.message;
1616

1717
/**
18-
* Stateless extended queryRows protocol messages.
18+
* Stateless extended query protocol messages.
1919
*
2020
* @author Antti Laisi
2121
*/

src/test/java/com/github/pgasync/impl/ResultHolder.java

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0