PostgreSQL Source Code  git master
protocol.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PqMsg_Bind   'B'
 
#define PqMsg_Close   'C'
 
#define PqMsg_Describe   'D'
 
#define PqMsg_Execute   'E'
 
#define PqMsg_FunctionCall   'F'
 
#define PqMsg_Flush   'H'
 
#define PqMsg_Parse   'P'
 
#define PqMsg_Query   'Q'
 
#define PqMsg_Sync   'S'
 
#define PqMsg_Terminate   'X'
 
#define PqMsg_CopyFail   'f'
 
#define PqMsg_GSSResponse   'p'
 
#define PqMsg_PasswordMessage   'p'
 
#define PqMsg_SASLInitialResponse   'p'
 
#define PqMsg_SASLResponse   'p'
 
#define PqMsg_ParseComplete   '1'
 
#define PqMsg_BindComplete   '2'
 
#define PqMsg_CloseComplete   '3'
 
#define PqMsg_NotificationResponse   'A'
 
#define PqMsg_CommandComplete   'C'
 
#define PqMsg_DataRow   'D'
 
#define PqMsg_ErrorResponse   'E'
 
#define PqMsg_CopyInResponse   'G'
 
#define PqMsg_CopyOutResponse   'H'
 
#define PqMsg_EmptyQueryResponse   'I'
 
#define PqMsg_BackendKeyData   'K'
 
#define PqMsg_NoticeResponse   'N'
 
#define PqMsg_AuthenticationRequest   'R'
 
#define PqMsg_ParameterStatus   'S'
 
#define PqMsg_RowDescription   'T'
 
#define PqMsg_FunctionCallResponse   'V'
 
#define PqMsg_CopyBothResponse   'W'
 
#define PqMsg_ReadyForQuery   'Z'
 
#define PqMsg_NoData   'n'
 
#define PqMsg_PortalSuspended   's'
 
#define PqMsg_ParameterDescription   't'
 
#define PqMsg_NegotiateProtocolVersion   'v'
 
#define PqMsg_CopyDone   'c'
 
#define PqMsg_CopyData   'd'
 
#define PqMsg_Progress   'P'
 
#define AUTH_REQ_OK   0 /* User is authenticated */
 
#define AUTH_REQ_KRB4   1 /* Kerberos V4. Not supported any more. */
 
#define AUTH_REQ_KRB5   2 /* Kerberos V5. Not supported any more. */
 
#define AUTH_REQ_PASSWORD   3 /* Password */
 
#define AUTH_REQ_CRYPT   4 /* crypt password. Not supported any more. */
 
#define AUTH_REQ_MD5   5 /* md5 password */
 
#define AUTH_REQ_GSS   7 /* GSSAPI without wrap() */
 
#define AUTH_REQ_GSS_CONT   8 /* Continue GSS exchanges */
 
#define AUTH_REQ_SSPI   9 /* SSPI negotiate without wrap() */
 
#define AUTH_REQ_SASL   10 /* Begin SASL authentication */
 
#define AUTH_REQ_SASL_CONT   11 /* Continue SASL authentication */
 
#define AUTH_REQ_SASL_FIN   12 /* Final SASL message */
 
#define AUTH_REQ_MAX   AUTH_REQ_SASL_FIN /* maximum AUTH_REQ_* value */
 

Macro Definition Documentation

◆ AUTH_REQ_CRYPT

#define AUTH_REQ_CRYPT   4 /* crypt password. Not supported any more. */

Definition at line 78 of file protocol.h.

◆ AUTH_REQ_GSS

#define AUTH_REQ_GSS   7 /* GSSAPI without wrap() */

Definition at line 81 of file protocol.h.

◆ AUTH_REQ_GSS_CONT

#define AUTH_REQ_GSS_CONT   8 /* Continue GSS exchanges */

Definition at line 82 of file protocol.h.

◆ AUTH_REQ_KRB4

#define AUTH_REQ_KRB4   1 /* Kerberos V4. Not supported any more. */

Definition at line 75 of file protocol.h.

◆ AUTH_REQ_KRB5

#define AUTH_REQ_KRB5   2 /* Kerberos V5. Not supported any more. */

Definition at line 76 of file protocol.h.

◆ AUTH_REQ_MAX

#define AUTH_REQ_MAX   AUTH_REQ_SASL_FIN /* maximum AUTH_REQ_* value */

Definition at line 87 of file protocol.h.

◆ AUTH_REQ_MD5

#define AUTH_REQ_MD5   5 /* md5 password */

Definition at line 79 of file protocol.h.

◆ AUTH_REQ_OK

#define AUTH_REQ_OK   0 /* User is authenticated */

Definition at line 74 of file protocol.h.

◆ AUTH_REQ_PASSWORD

#define AUTH_REQ_PASSWORD   3 /* Password */

Definition at line 77 of file protocol.h.

◆ AUTH_REQ_SASL

#define AUTH_REQ_SASL   10 /* Begin SASL authentication */

Definition at line 84 of file protocol.h.

◆ AUTH_REQ_SASL_CONT

#define AUTH_REQ_SASL_CONT   11 /* Continue SASL authentication */

Definition at line 85 of file protocol.h.

◆ AUTH_REQ_SASL_FIN

#define AUTH_REQ_SASL_FIN   12 /* Final SASL message */

Definition at line 86 of file protocol.h.

◆ AUTH_REQ_SSPI

#define AUTH_REQ_SSPI   9 /* SSPI negotiate without wrap() */

Definition at line 83 of file protocol.h.

◆ PqMsg_AuthenticationRequest

#define PqMsg_AuthenticationRequest   'R'

Definition at line 50 of file protocol.h.

◆ PqMsg_BackendKeyData

#define PqMsg_BackendKeyData   'K'

Definition at line 48 of file protocol.h.

◆ PqMsg_Bind

#define PqMsg_Bind   'B'

Definition at line 19 of file protocol.h.

◆ PqMsg_BindComplete

#define PqMsg_BindComplete   '2'

Definition at line 39 of file protocol.h.

◆ PqMsg_Close

#define PqMsg_Close   'C'

Definition at line 20 of file protocol.h.

◆ PqMsg_CloseComplete

#define PqMsg_CloseComplete   '3'

Definition at line 40 of file protocol.h.

◆ PqMsg_CommandComplete

#define PqMsg_CommandComplete   'C'

Definition at line 42 of file protocol.h.

◆ PqMsg_CopyBothResponse

#define PqMsg_CopyBothResponse   'W'

Definition at line 54 of file protocol.h.

◆ PqMsg_CopyData

#define PqMsg_CopyData   'd'

Definition at line 65 of file protocol.h.

◆ PqMsg_CopyDone

#define PqMsg_CopyDone   'c'

Definition at line 64 of file protocol.h.

◆ PqMsg_CopyFail

#define PqMsg_CopyFail   'f'

Definition at line 29 of file protocol.h.

◆ PqMsg_CopyInResponse

#define PqMsg_CopyInResponse   'G'

Definition at line 45 of file protocol.h.

◆ PqMsg_CopyOutResponse

#define PqMsg_CopyOutResponse   'H'

Definition at line 46 of file protocol.h.

◆ PqMsg_DataRow

#define PqMsg_DataRow   'D'

Definition at line 43 of file protocol.h.

◆ PqMsg_Describe

#define PqMsg_Describe   'D'

Definition at line 21 of file protocol.h.

◆ PqMsg_EmptyQueryResponse

#define PqMsg_EmptyQueryResponse   'I'

Definition at line 47 of file protocol.h.

◆ PqMsg_ErrorResponse

#define PqMsg_ErrorResponse   'E'

Definition at line 44 of file protocol.h.

◆ PqMsg_Execute

#define PqMsg_Execute   'E'

Definition at line 22 of file protocol.h.

◆ PqMsg_Flush

#define PqMsg_Flush   'H'

Definition at line 24 of file protocol.h.

◆ PqMsg_FunctionCall

#define PqMsg_FunctionCall   'F'

Definition at line 23 of file protocol.h.

◆ PqMsg_FunctionCallResponse

#define PqMsg_FunctionCallResponse   'V'

Definition at line 53 of file protocol.h.

◆ PqMsg_GSSResponse

#define PqMsg_GSSResponse   'p'

Definition at line 30 of file protocol.h.

◆ PqMsg_NegotiateProtocolVersion

#define PqMsg_NegotiateProtocolVersion   'v'

Definition at line 59 of file protocol.h.

◆ PqMsg_NoData

#define PqMsg_NoData   'n'

Definition at line 56 of file protocol.h.

◆ PqMsg_NoticeResponse

#define PqMsg_NoticeResponse   'N'

Definition at line 49 of file protocol.h.

◆ PqMsg_NotificationResponse

#define PqMsg_NotificationResponse   'A'

Definition at line 41 of file protocol.h.

◆ PqMsg_ParameterDescription

#define PqMsg_ParameterDescription   't'

Definition at line 58 of file protocol.h.

◆ PqMsg_ParameterStatus

#define PqMsg_ParameterStatus   'S'

Definition at line 51 of file protocol.h.

◆ PqMsg_Parse

#define PqMsg_Parse   'P'

Definition at line 25 of file protocol.h.

◆ PqMsg_ParseComplete

#define PqMsg_ParseComplete   '1'

Definition at line 38 of file protocol.h.

◆ PqMsg_PasswordMessage

#define PqMsg_PasswordMessage   'p'

Definition at line 31 of file protocol.h.

◆ PqMsg_PortalSuspended

#define PqMsg_PortalSuspended   's'

Definition at line 57 of file protocol.h.

◆ PqMsg_Progress

#define PqMsg_Progress   'P'

Definition at line 69 of file protocol.h.

◆ PqMsg_Query

#define PqMsg_Query   'Q'

Definition at line 26 of file protocol.h.

◆ PqMsg_ReadyForQuery

#define PqMsg_ReadyForQuery   'Z'

Definition at line 55 of file protocol.h.

◆ PqMsg_RowDescription

#define PqMsg_RowDescription   'T'

Definition at line 52 of file protocol.h.

◆ PqMsg_SASLInitialResponse

#define PqMsg_SASLInitialResponse   'p'

Definition at line 32 of file protocol.h.

◆ PqMsg_SASLResponse

#define PqMsg_SASLResponse   'p'

Definition at line 33 of file protocol.h.

◆ PqMsg_Sync

#define PqMsg_Sync   'S'

Definition at line 27 of file protocol.h.

◆ PqMsg_Terminate

#define PqMsg_Terminate   'X'

Definition at line 28 of file protocol.h.