Permalink
Browse files

refactor: remove charset property not used (#709)

  • Loading branch information...
jorsol authored and vlsi committed Dec 30, 2016
1 parent ba812fb commit f6fd5a5abea1efe9b987825b7874ffd962772197
@@ -317,13 +317,6 @@
*/
SSPI_SERVICE_CLASS("sspiServiceClass", "POSTGRES", "The Windows SSPI service class for SPN"),
/**
* The character set to use for data sent to the database or received from the database. This
* property is only relevant for server versions less than or equal to 7.2.
*/
CHARSET("charSet", null,
"The character set to use for data sent to the database or received from the database (for backend <= 7.2)"),
/**
* When using the V3 protocol the driver monitors changes in certain server configuration
* parameters that should not be touched by end users. The {@code client_encoding} setting is set
@@ -942,22 +942,6 @@ public void setSspiServiceClass(String serviceClass) {
PGProperty.SSPI_SERVICE_CLASS.set(properties, serviceClass);
}
/**
* @return character set to use for data sent to the database or received
* @see PGProperty#CHARSET
*/
public String getCharset() {
return PGProperty.CHARSET.get(properties);
}
/**
* @param charset character set to use for data sent to the database or received
* @see PGProperty#CHARSET
*/
public void setCharset(String charset) {
PGProperty.CHARSET.set(properties, charset);
}
/**
* @return if connection allows encoding changes
* @see PGProperty#ALLOW_ENCODING_CHANGES

0 comments on commit f6fd5a5

Please sign in to comment.