pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #14307: SELECT from pg_timezone_abbrevs gives an ERROR: F0000
3+ messages / 3 participants
[nested] [flat]
* BUG #14307: SELECT from pg_timezone_abbrevs gives an ERROR: F0000
@ 2016-09-02 03:15 neil@postgrescompare.com
0 siblings, 2 replies; 3+ messages in thread
From: neil@postgrescompare.com @ 2016-09-02 03:15 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 14307
Logged by: Neil Anderson
Email address: neil@postgrescompare.com
PostgreSQL version: 9.6beta4
Operating system: Windows 10 Enterprise N (64 bit)
Description:
Hi,
My project queries most of the system catalogs and hit an issue with 9.6rc1
on Windows 10.
Steps to reproduce:
1. Start psql
2. SELECT * from pg_timezone_abbrevs;
Expected:
Data from pg_timezone_abbrevs to be returned
Actual:
ERROR: F0000: time zone abbreviation "novst" is not used in time zone
"Asia/Novosibirsk"
Setting verbose points to line 1750 of datetime.c
https://github.com/postgres/postgres/blob/REL9_6_RC1/src/backend/utils/adt/datetime.c#L1750
Regards,
Neil
Here is the full exception data:
$exception
{Npgsql.PostgresException: F0000: time zone abbreviation "novst" is not used
in time zone "Asia/Novosibirsk"
at Npgsql.NpgsqlConnector.DoReadMessage(DataRowLoadingMode
dataRowLoadingMode, Boolean isPrependedMessage)
at Npgsql.NpgsqlConnector.ReadMessageWithPrepended(DataRowLoadingMode
dataRowLoadingMode)
at Npgsql.NpgsqlDataReader.NextResultInternal()
at Npgsql.NpgsqlDataReader.NextResult()
at Npgsql.NpgsqlCommand.Execute(CommandBehavior behavior)
at Npgsql.NpgsqlCommand.ExecuteDbDataReaderInternal(CommandBehavior
behavior)
at ObjectModel.DatabaseModelBuilder.Read(IDbConnection connection,
Action`1 objectCreated, String query, Type typeToCreate) in
C:\Users\eneiand\dev\postgresqlcompare\dotnetcore\src\models\DatabaseModelBuilder.cs:line
102
at ObjectModel.DatabaseModelBuilder.Build(IDbConnection dbConnection) in
C:\Users\eneiand\dev\postgresqlcompare\dotnetcore\src\models\DatabaseModelBuilder.cs:line
86
at IntegrationTests.TestFramework.Utilities.GetDatabases(DatabaseSchema
schemaX, DatabaseSchema schemaY) in
C:\Users\eneiand\dev\postgresqlcompare\dotnetcore\test\integration\testframework\Utilities.cs:line
66
at IntegrationTests.TestFramework.Utilities.GetComparison(DatabaseSchema
schemaX, DatabaseSchema schemaY, String comparisonName) in
C:\Users\eneiand\dev\postgresqlcompare\dotnetcore\test\integration\testframework\Utilities.cs:line
40
at IntegrationTests.Comparison.ColumnComparison.BasicIdenticalTest() in
C:\Users\eneiand\dev\postgresqlcompare\dotnetcore\test\integration\comparison\ColumnComparison.cs:line
14}
BaseMessage: "time zone abbreviation \"novst\" is not used in time zone
\"Asia/Novosibirsk\""
Code: "F0000"
ColumnName: null
ConstraintName: null
Data: Count = 8
DataTypeName: null
Detail: null
File: "datetime.c"
HResult: -2146233088
HelpLink: null
Hint: null
InnerException: null
InternalPosition: 0
InternalQuery: null
Line: "1750"
Message: "F0000: time zone abbreviation \"novst\" is not used in time
zone \"Asia/Novosibirsk\""
MessageText: "time zone abbreviation \"novst\" is not used in time zone
\"Asia/Novosibirsk\""
Position: 0
Routine: "DetermineTimeZoneAbbrevOffsetInternal"
SchemaName: null
Severity: "ERROR"
Source: "Npgsql"
SqlState: "F0000"
StackTrace: " at
Npgsql.NpgsqlConnector.DoReadMessage(DataRowLoadingMode dataRowLoadingMode,
Boolean isPrependedMessage)\r\n at
Npgsql.NpgsqlConnector.ReadMessageWithPrepended(DataRowLoadingMode
dataRowLoadingMode)\r\n at
Npgsql.NpgsqlDataReader.NextResultInternal()\r\n at
Npgsql.NpgsqlDataReader.NextResult()\r\n at
Npgsql.NpgsqlCommand.Execute(CommandBehavior behavior)\r\n at
Npgsql.NpgsqlCommand.ExecuteDbDataReaderInternal(CommandBehavior
behavior)\r\n at ObjectModel.DatabaseModelBuilder.Read(IDbConnection
connection, Action`1 objectCreated, String query, Type typeToCreate) in
C:\\Users\\eneiand\\dev\\postgresqlcompare\\dotnetcore\\src\\models\\DatabaseModelBuilder.cs:line
102\r\n at ObjectModel.DatabaseModelBuilder.Build(IDbConnection
dbConnection) in
C:\\Users\\eneiand\\dev\\postgresqlcompare\\dotnetcore\\src\\models\\DatabaseModelBuilder.cs:line
86\r\n at
IntegrationTests.TestFramework.Utilities.GetDatabases(DatabaseSchema
schemaX, DatabaseSchema schemaY) in C:\\Users\\eneiand\\dev\\
postgresqlcompare\\dotnetcore\\test\\integration\\testframework\\Utilities.cs:line
66\r\n at
IntegrationTests.TestFramework.Utilities.GetComparison(DatabaseSchema
schemaX, DatabaseSchema schemaY, String comparisonName) in
C:\\Users\\eneiand\\dev\\postgresqlcompare\\dotnetcore\\test\\integration\\testframework\\Utilities.cs:line
40\r\n at
IntegrationTests.Comparison.ColumnComparison.BasicIdenticalTest() in
C:\\Users\\eneiand\\dev\\postgresqlcompare\\dotnetcore\\test\\integration\\comparison\\ColumnComparison.cs:line
14"
Statement: {SELECT abbrev, utc_offset, is_dst FROM pg_timezone_abbrevs
}
TableName: null
Where: null
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #14307: SELECT from pg_timezone_abbrevs gives an ERROR: F0000
@ 2016-09-02 03:46 Neil Anderson <neil@postgrescompare.com>
parent: neil@postgrescompare.com
1 sibling, 0 replies; 3+ messages in thread
From: Neil Anderson @ 2016-09-02 03:46 UTC (permalink / raw)
To: pgsql-bugs
On 2016-09-01 11:15 PM, neil@postgrescompare.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 14307
> Logged by: Neil Anderson
> Email address: neil@postgrescompare.com
> PostgreSQL version: 9.6beta4
> Operating system: Windows 10 Enterprise N (64 bit)
> Description:
>
> Hi,
>
> My project queries most of the system catalogs and hit an issue with 9.6rc1
> on Windows 10.
Further to this the same error appears in 9.5.4 but not in 9.5.3
--
Neil Anderson
neil@postgrescompare.com
http://blog.postgrescompare.com
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #14307: SELECT from pg_timezone_abbrevs gives an ERROR: F0000
@ 2016-09-02 14:07 Tom Lane <tgl@sss.pgh.pa.us>
parent: neil@postgrescompare.com
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2016-09-02 14:07 UTC (permalink / raw)
To: neil@postgrescompare.com; +Cc: pgsql-bugs
neil@postgrescompare.com writes:
> 2. SELECT * from pg_timezone_abbrevs;
> ERROR: F0000: time zone abbreviation "novst" is not used in time zone
> "Asia/Novosibirsk"
Hm, yeah, IANA changed the data they ship for Asia/Novosibirsk and we
missed the impact it would have on our stuff :-(. I've started a thread
on what to do about this over in pgsql-hackers:
https://www.postgresql.org/message-id/flat/6189.1472820913%40sss.pgh.pa.us
Thanks for the report!
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-09-02 14:07 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 03:15 BUG #14307: SELECT from pg_timezone_abbrevs gives an ERROR: F0000 neil@postgrescompare.com
2016-09-02 03:46 ` Neil Anderson <neil@postgrescompare.com>
2016-09-02 14:07 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox