skunk.net.message
Definitions of Postgres messages, with binary encoders and decoders. Doc for this package isn't very good yet, but the message formats are well documented at the linked pages below. It's a straightforward mapping.
It's probably useful to point out that Codec
, Encoder
, and Decoder
in this package are from scodec. They're not the data types of the same name and same general design that are defined above in the skunk
package. I realize this is confusing, but it shouldn't be a concern for anyone other than people working on the wire protocol, which never changes (heh-heh) so it shouldn't be a big deal.
Attributes
- See also
Members list
Type members
Classlikes
Specifies that the authentication was successful.
Specifies that the authentication was successful.
Attributes
- Source
- AuthenticationCleartextPassword.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
Specifies that GSSAPI authentication is required.
Specifies that GSSAPI authentication is required.
Attributes
- Source
- AuthenticationGSS.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
AuthenticationGSS.type
Specifies that this message contains GSSAPI or SSPI data.
Specifies that this message contains GSSAPI or SSPI data.
Value parameters
- data
-
GSSAPI or SSPI authentication data.
Attributes
- Companion
- object
- Source
- AuthenticationGSSContinue.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- AuthenticationGSSContinue.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- AuthenticationKerberosV5.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
Specifies that an MD5-encrypted password is required.
Specifies that an MD5-encrypted password is required.
Value parameters
- salt
-
The salt to use when encrypting the password.
Attributes
- Companion
- object
- Source
- AuthenticationMD5Password.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- AuthenticationMD5Password.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Specifies that the authentication was successful.
Specifies that the authentication was successful.
Attributes
- Source
- AuthenticationOk.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
AuthenticationOk.type
Family of BackendMessage
relating to authentication.
Family of BackendMessage
relating to authentication. All share the same top-level decoder, which switches on a secondary tag and delegates to secondary decoders.
Attributes
- Companion
- object
- Source
- AuthenticationRequest.scala
- Supertypes
- Known subtypes
-
object AuthenticationCleartextPassword.typeobject AuthenticationGSS.typeobject AuthenticationKerberosV5.typeobject AuthenticationOk.typeclass AuthenticationSASLclass AuthenticationSASLFinalobject AuthenticationSCMCredential.typeobject AuthenticationSSPI.typeShow all
Attributes
- Companion
- trait
- Source
- AuthenticationRequest.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Specifies that SASL authentication is required.
Specifies that SASL authentication is required. The message body is a list of SASL authentication mechanisms, in the server's order of preference.
Value parameters
- mechanisms
-
Names of supported SASL authentication mechanisms.
Attributes
- Companion
- object
- Source
- AuthenticationSASL.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- AuthenticationSASL.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AuthenticationSASL.type
Specifies that this message contains a SASL challenge.
Specifies that this message contains a SASL challenge.
Value parameters
- data
-
SASL data, specific to the SASL mechanism being used.
Attributes
- Companion
- object
- Source
- AuthenticationSASLContinue.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- AuthenticationSASLContinue.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Specifies that SASL authentication has completed.
Specifies that SASL authentication has completed.
Value parameters
- data
-
SASL outcome "additional data", specific to the SASL mechanism being used.
Attributes
- Companion
- object
- Source
- AuthenticationSASLFinal.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- AuthenticationSASLFinal.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- AuthenticationSCMCredential.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
Specifies that SSPI authentication is required.
Specifies that SSPI authentication is required.
Attributes
- Source
- AuthenticationSSPI.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait AuthenticationRequesttrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
AuthenticationSSPI.type
Cancellation key data.
Cancellation key data. The frontend must save these values if it wishes to be able to issue CancelRequest
messages later.
Value parameters
- key
-
The secret key of this backend.
- pid
-
The process ID of this backend.
Attributes
- Companion
- object
- Source
- BackendKeyData.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- BackendKeyData.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
BackendKeyData.type
Family of messages that are received from the server (the "back end").
Family of messages that are received from the server (the "back end"). These messages all consist of a leading tag and a length-prefixed payload. This is an open hierarchy because I don't like the aesthetics of a 52-case ADT. We may revisit this but it's ok for now.
Attributes
- Companion
- object
- Source
- BackendMessage.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait AuthenticationRequestobject AuthenticationCleartextPassword.typeobject AuthenticationGSS.typeobject AuthenticationKerberosV5.typeobject AuthenticationOk.typeclass AuthenticationSASLclass AuthenticationSASLFinalobject AuthenticationSCMCredential.typeobject AuthenticationSSPI.typeclass BackendKeyDataobject BindComplete.typeobject CloseComplete.typeclass CommandCompleteclass CopyDataobject CopyDone.typeclass CopyInResponseclass CopyOutResponseobject EmptyQueryResponse.typeclass ErrorResponseobject NoData.typeclass NoticeResponseclass NotificationResponseclass ParameterDescriptionclass ParameterStatusobject ParseComplete.typeobject PortalSuspended.typeclass ReadyForQueryclass RowDataclass RowDescriptionclass UnknownMessageShow all
Attributes
- Companion
- trait
- Source
- BackendMessage.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BackendMessage.type
Attributes
- Companion
- object
- Source
- Bind.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Bind.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Bind.type
Attributes
- Source
- BindComplete.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
BindComplete.type
Attributes
- Companion
- object
- Source
- Close.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Close.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Close.type
Attributes
- Source
- CloseComplete.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
CloseComplete.type
Attributes
- Source
- package.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Command-completed response.
Command-completed response. The command tag is usually a single word that identifies which SQL command was completed.
- For an INSERT command, the tag is INSERT <oid> <rows>
, where rows is the number of rows inserted. oid is the object ID of the inserted row if rows is 1 and the target table has OIDs; otherwise oid is 0. - For a DELETE command, the tag is DELETE rows where rows is the number of rows deleted. - For an UPDATE command, the tag is UPDATE rows where rows is the number of rows updated. - For a SELECT or CREATE TABLE AS command, the tag is SELECT rows where rows is the number of rows retrieved. - For a MOVE command, the tag is MOVE rows where rows is the number of rows the cursor's position has been changed by. - For a FETCH command, the tag is FETCH rows where rows is the number of rows that have been retrieved from the cursor. - For a COPY command, the tag is COPY rows where rows is the number of rows copied. (Note: the row count appears only in PostgreSQL 8.2 and later.)
Value parameters
- completion
-
The command tag.
Attributes
- Companion
- object
- Source
- CommandComplete.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- CommandComplete.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CommandComplete.type
Attributes
- Source
- FrontendMessage.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- object
- Source
- CopyData.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- CopyData.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CopyData.type
Attributes
- Source
- CopyDone.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
CopyDone.type
Attributes
- Source
- CopyFail.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ConstFrontendMessageclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
CopyFail.type
Attributes
- Companion
- object
- Source
- CopyInResponse.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- CopyInResponse.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CopyInResponse.type
Attributes
- Companion
- object
- Source
- CopyOutResponse.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- CopyOutResponse.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CopyOutResponse.type
Attributes
- Companion
- object
- Source
- Describe.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Describe.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Describe.type
Attributes
- Source
- EmptyQueryResponse.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
EmptyQueryResponse.type
Attributes
- Companion
- object
- Source
- ErrorResponse.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ErrorResponse.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ErrorResponse.type
Attributes
- Companion
- object
- Source
- Execute.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Execute.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Execute.type
Attributes
- Source
- Flush.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ConstFrontendMessageclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
Flush.type
Attributes
- Source
- FrontendMessage.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class TaggedFrontendMessageclass Bindclass Closeclass ConstFrontendMessageobject CopyFail.typeobject Flush.typeobject Sync.typeobject Terminate.typeclass Describeclass Executeclass Parseclass PasswordMessageclass Queryclass SASLInitialResponseclass SASLResponseclass UntaggedFrontendMessageclass StartupMessageShow all
Attributes
- Source
- NoData.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
NoData.type
Attributes
- Companion
- object
- Source
- NoticeResponse.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- NoticeResponse.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NoticeResponse.type
Attributes
- Companion
- object
- Source
- NotificationResponse.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- NotificationResponse.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NotificationResponse.type
Attributes
- Companion
- object
- Source
- ParameterDescription.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ParameterDescription.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ParameterDescription.type
Attributes
- Companion
- object
- Source
- ParameterStatus.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ParameterStatus.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ParameterStatus.type
Attributes
- Companion
- object
- Source
- Parse.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Parse.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Parse.type
Attributes
- Source
- ParseComplete.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
ParseComplete.type
Attributes
- Companion
- object
- Source
- PasswordMessage.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- PasswordMessage.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PasswordMessage.type
Attributes
- Source
- PortalSuspended.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
PortalSuspended.type
Attributes
- Companion
- object
- Source
- Query.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Query.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Query.type
Attributes
- Companion
- object
- Source
- ReadyForQuery.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ReadyForQuery.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ReadyForQuery.type
Attributes
- Companion
- object
- Source
- RowData.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- RowData.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RowData.type
Attributes
- Companion
- object
- Source
- RowDescription.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- RowDescription.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RowDescription.type
Initial response from client to server in a SASL authentication.
Initial response from client to server in a SASL authentication. The supplied mechanism is one of the advertised mechanisms from the AuthenticationSASL
message.
Value parameters
- initialResponse
-
Mechanism specific response message.
- mechanism
-
Names of selected SASL authentication mechanism.
Attributes
- Companion
- object
- Source
- SASLInitialResponse.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- SASLInitialResponse.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SASLInitialResponse.type
Non-initial response from client to server in a SASL authentication.
Non-initial response from client to server in a SASL authentication.
Value parameters
- response
-
Mechanism specific response message.
Attributes
- Companion
- object
- Source
- SASLResponse.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- SASLResponse.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SASLResponse.type
Attributes
- Companion
- object
- Source
- StartupMessage.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass UntaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- StartupMessage.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StartupMessage.type
Attributes
- Source
- Sync.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ConstFrontendMessageclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
Sync.type
Attributes
- Source
- FrontendMessage.scala
- Supertypes
- Known subtypes
-
class Bindclass Closeclass ConstFrontendMessageobject CopyFail.typeobject Flush.typeobject Sync.typeobject Terminate.typeclass Describeclass Executeclass Parseclass PasswordMessageclass Queryclass SASLInitialResponseclass SASLResponseShow all
Attributes
- Source
- Terminate.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass ConstFrontendMessageclass TaggedFrontendMessagetrait FrontendMessageclass Objecttrait Matchableclass AnyShow all
- Self type
-
Terminate.type
Default interpretation of a backend message if the tag is unknown to Skunk.
Default interpretation of a backend message if the tag is unknown to Skunk.
Attributes
- Companion
- object
- Source
- UnknownMessage.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait BackendMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- UnknownMessage.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
UnknownMessage.type
Attributes
- Source
- FrontendMessage.scala
- Supertypes
- Known subtypes
-
class StartupMessage
Value members
Implicits
Implicits
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala