public class PostgreSQLSupport:
PostgreSQL protocol helpers and constants.
PostgreSQL uses a message-based protocol where each message starts with a type byte followed by a 4-byte length (including itself) and then payload.
| Modifier and Type | Member | Description |
|---|---|---|
| public static | AUTH_CLEAR_TEXT_PASSWORDAUTH_CLEAR_TEXT_PASSWORD as Int = 3 |
No summary. |
| public static | AUTH_GSSAUTH_GSS as Int = 7 |
No summary. |
| public static | AUTH_GSS_CONTINUEAUTH_GSS_CONTINUE as Int = 8 |
No summary. |
| public static | AUTH_KERBEROS_V5AUTH_KERBEROS_V5 as Int = 2 |
No summary. |
| public static | AUTH_MD5_PASSWORDAUTH_MD5_PASSWORD as Int = 5 |
No summary. |
| public static | AUTH_OKAUTH_OK as Int = 0 |
No summary. |
| public static | AUTH_SASLAUTH_SASL as Int = 10 |
No summary. |
| public static | AUTH_SASL_CONTINUEAUTH_SASL_CONTINUE as Int = 11 |
No summary. |
| public static | AUTH_SASL_FINALAUTH_SASL_FINAL as Int = 12 |
No summary. |
| public static | AUTH_SCM_CREDENTIALAUTH_SCM_CREDENTIAL as Int = 6 |
No summary. |
| public static | AUTH_SSPIAUTH_SSPI as Int = 9 |
No summary. |
| public static | PROTOCOL_VERSIONPROTOCOL_VERSION as Int = 196608 |
No summary. |
| public static | SSL_REQUEST_CODESSL_REQUEST_CODE as Int = 80877103 |
No summary. |
| public static | STARTUP_MESSAGESTARTUP_MESSAGE as Int = 196608 |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public static MSG_AUTHENTICATION_REQUEST as | Byte | No summary. |
| public static MSG_BACKEND_KEY_DATA as | Byte | No summary. |
| public static MSG_BIND_COMPLETE as | Byte | No summary. |
| public static MSG_CLOSE_COMPLETE as | Byte | No summary. |
| public static MSG_COMMAND_COMPLETE as | Byte | No summary. |
| public static MSG_DATA_ROW as | Byte | No summary. |
| public static MSG_ERROR_RESPONSE as | Byte | No summary. |
| public static MSG_NO_DATA as | Byte | No summary. |
| public static MSG_PARAMETER_STATUS as | Byte | No summary. |
| public static MSG_PARSE_COMPLETE as | Byte | No summary. |
| public static MSG_PORTAL_SUSPENDED as | Byte | No summary. |
| public static MSG_READY_FOR_QUERY as | Byte | No summary. |
| public static MSG_ROW_DESCRIPTION as | Byte | No summary. |
| public static | byteToChar | Converts a byte to a character string. |
| public static | byteToHex | Converts a byte to hex string. |
| public static | bytesToString | Converts bytes to string. |
| public static | encodeUrlComponent | Encodes a string for use in URLs. |
| public static | readCString | Reads a null-terminated string from bytes. |
| public static | readInt16 | Reads a 2-byte short from bytes. |
| public static | readInt32 | Reads a 4-byte integer from bytes. |
| public static | stringToAsciiBytes | Converts a string to ASCII bytes. |
| public static | writeCStringwriteCString(builder as PostgreSQLByteBuilder, value as String) as Void: |
Writes a null-terminated string to bytes. |
| public static | writeInt16writeInt16(builder as PostgreSQLByteBuilder, value as Int) as Void: |
Writes a 2-byte short. |
| public static | writeInt32writeInt32(builder as PostgreSQLByteBuilder, value as Int) as Void: |
Writes a 4-byte integer. |