Revert "fix an issue with postgres timestamp literals"
This reverts commit 0b021e56f9
.
This commit is contained in:
parent
0b021e56f9
commit
9073d6192b
|
@ -1036,12 +1036,7 @@ public class PostgreSQLDialect extends Dialect {
|
||||||
appender.appendSql( '\'' );
|
appender.appendSql( '\'' );
|
||||||
break;
|
break;
|
||||||
case TIMESTAMP:
|
case TIMESTAMP:
|
||||||
if ( temporalAccessor.isSupported( ChronoField.OFFSET_SECONDS ) ) {
|
|
||||||
appender.appendSql( "timestamp with time zone '" );
|
appender.appendSql( "timestamp with time zone '" );
|
||||||
}
|
|
||||||
else {
|
|
||||||
appender.appendSql( "timestamp '" );
|
|
||||||
}
|
|
||||||
appendAsTimestampWithMicros( appender, temporalAccessor, supportsTemporalLiteralOffset(), jdbcTimeZone );
|
appendAsTimestampWithMicros( appender, temporalAccessor, supportsTemporalLiteralOffset(), jdbcTimeZone );
|
||||||
appender.appendSql( '\'' );
|
appender.appendSql( '\'' );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue