| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final String | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | Returns: The current JVM time zone in postgresql format.Convert Java time zone to postgres time zone. |
| private ISSPIClient | |
| private void | |
| private PGStream | enableGSSEncrypted(PGStream pgStream, GSSEncMode gssEncMode, String host, Properties info, int connectTimeout)
|
| private PGStream | |
| private List | |
| private boolean | isPrimary(QueryExecutor queryExecutor)
Since PG14 there is GUC_REPORT ParamStatus |
| private static void | |
| public QueryExecutor | openConnectionImpl(HostSpec[]
at least one host and port to connect to; multiple elements for round-robin
failover hostSpecs, Properties extra properties controlling the connection; notably, "password" if present
supplies the password to authenticate with. info)Implements abstract org. Implementation of |
| private void | |
| private void | |
| private PGStream | tryConnect(Properties info, SocketFactory socketFactory, HostSpec hostSpec, SslMode sslMode, GSSEncMode gssEncMode)
|
| AUTH_REQ_CRYPT | back to summary |
|---|---|
| private static final int AUTH_REQ_CRYPT | |
| AUTH_REQ_GSS | back to summary |
|---|---|
| private static final int AUTH_REQ_GSS | |
| AUTH_REQ_GSS_CONTINUE | back to summary |
|---|---|
| private static final int AUTH_REQ_GSS_CONTINUE | |
| AUTH_REQ_KRB4 | back to summary |
|---|---|
| private static final int AUTH_REQ_KRB4 | |
| AUTH_REQ_KRB5 | back to summary |
|---|---|
| private static final int AUTH_REQ_KRB5 | |
| AUTH_REQ_MD5 | back to summary |
|---|---|
| private static final int AUTH_REQ_MD5 | |
| AUTH_REQ_OK | back to summary |
|---|---|
| private static final int AUTH_REQ_OK | |
| AUTH_REQ_PASSWORD | back to summary |
|---|---|
| private static final int AUTH_REQ_PASSWORD | |
| AUTH_REQ_SASL | back to summary |
|---|---|
| private static final int AUTH_REQ_SASL | |
| AUTH_REQ_SASL_CONTINUE | back to summary |
|---|---|
| private static final int AUTH_REQ_SASL_CONTINUE | |
| AUTH_REQ_SASL_FINAL | back to summary |
|---|---|
| private static final int AUTH_REQ_SASL_FINAL | |
| AUTH_REQ_SCM | back to summary |
|---|---|
| private static final int AUTH_REQ_SCM | |
| AUTH_REQ_SSPI | back to summary |
|---|---|
| private static final int AUTH_REQ_SSPI | |
| IN_HOT_STANDBY | back to summary |
|---|---|
| private static final String IN_HOT_STANDBY | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| ConnectionFactoryImpl | back to summary |
|---|---|
| public ConnectionFactoryImpl() | |
| createPostgresTimeZone | back to summary |
|---|---|
| private static String createPostgresTimeZone() Convert Java time zone to postgres time zone. All others stay the same except that GMT+nn changes to GMT-nn and vise versa. If you provide GMT+/-nn postgres uses POSIX rules which has a positive sign for west of Greenwich JAVA uses ISO rules which the positive sign is east of Greenwich To make matters more interesting postgres will always report in ISO
| |
| createSSPI | back to summary |
|---|---|
| private ISSPIClient createSSPI(PGStream pgStream, @Nullable String spnServiceClass, boolean enableNegotiate) | |
| doAuthentication | back to summary |
|---|---|
| private void doAuthentication(PGStream pgStream, String host, String user, Properties info) throws IOException, SQLException | |
| enableGSSEncrypted | back to summary |
|---|---|
| private PGStream enableGSSEncrypted(PGStream pgStream, GSSEncMode gssEncMode, String host, Properties info, int connectTimeout) throws IOException, PSQLException | |
| enableSSL | back to summary |
|---|---|
| private PGStream enableSSL(PGStream pgStream, SslMode sslMode, Properties info, int connectTimeout) throws IOException, PSQLException | |
| getParametersForStartup | back to summary |
|---|---|
| private List | |
| isPrimary | back to summary |
|---|---|
| private boolean isPrimary(QueryExecutor queryExecutor) throws SQLException, IOException Since PG14 there is GUC_REPORT ParamStatus This method checks whether
Do not confuse | |
| log | back to summary |
|---|---|
| private static void log(Level level, String msg, Throwable thrown, Object... params) | |
| openConnectionImpl | back to summary |
|---|---|
| public QueryExecutor openConnectionImpl(HostSpec[] hostSpecs, Properties info) throws SQLException Implements abstract org. Doc from org. Implementation of
| |
| runInitialQueries | back to summary |
|---|---|
| private void runInitialQueries(QueryExecutor queryExecutor, Properties info) throws SQLException | |
| sendStartupPacket | back to summary |
|---|---|
| private void sendStartupPacket(PGStream pgStream, List<ConnectionFactoryImpl. | |
| tryConnect | back to summary |
|---|---|
| private PGStream tryConnect(Properties info, SocketFactory socketFactory, HostSpec hostSpec, SslMode sslMode, GSSEncMode gssEncMode) throws SQLException, IOException | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] | |
| public String |
| key | back to summary |
|---|---|
| private final String key | |
| value | back to summary |
|---|---|
| private final String value | |
| StartupParam | back to summary |
|---|---|
| pack-priv StartupParam(String key, String value) | |
| getEncodedKey | back to summary |
|---|---|
| public byte[] getEncodedKey() | |
| getEncodedValue | back to summary |
|---|---|
| public byte[] getEncodedValue() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |