[BUGS] BUG #5562: icon "terrestrial globe" much too big
The following bug has been logged online: Bug reference: 5562 Logged by: Heinz Groote Email address: heinz.gro...@t-online.de PostgreSQL version: 8.4 Operating system: opensuse 11.2 Description:icon "terrestrial globe" much too big Details: The image size of the icons with the terrestrial globe is so big that it destroys the main menu of gnome. (Idea: By reducing the image size to 31x31 with GIMP, the size compares to all the other icons.) I hopefully may report this subject on this place, because it is an overall problem with the installation of postgresql with all the modules using this type of icon. Thank you regards *** heinz *** -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
[BUGS] BUG #5563: Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo)
The following bug has been logged online: Bug reference: 5563 Logged by: Daniel Grace Email address: dgr...@wingsnw.com PostgreSQL version: 9.0beta3 Operating system: Windows XP 32-bit Description:Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo) Details: The manual states: "If DISTINCT is specified in addition to an order_by_clause, then all the ORDER BY expressions must match regular arguments of the aggregate; that is, you cannot sort on an expression that is not included in the DISTINCT list. " However, in some circumstances Postgres will fail DROP TABLE IF EXISTS foo; CREATE TABLE foo ( t VARCHAR ); INSERT INTO foo (t) VALUES ('a'), ('a'), ('b'), ('b'), ('c'); SELECT STRING_AGG(DISTINCT t::TEXT ORDER BY t::TEXT) FROM foo; -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
[BUGS] BUG #5564: Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo)
The following bug has been logged online: Bug reference: 5564 Logged by: Daniel Grace Email address: dgr...@wingsnw.com PostgreSQL version: 9.0beta3 Operating system: Windows XP 32-bit Description:Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo) Details: (Apologies if there's a duplicate, I may have accidentally submitted too early. Tab+spacebar is a bad combination on browsers) The manual states: "If DISTINCT is specified in addition to an order_by_clause, then all the ORDER BY expressions must match regular arguments of the aggregate; that is, you cannot sort on an expression that is not included in the DISTINCT list. " However, in some circumstances Postgres will fail with "in an aggregate with DISTINCT, ORDER BY expressions must appear in argument list" when the same column is named in both places. It appears to be related to cases when the aggregate function in question requires implicit typecasts: This test case fails with the above error: DROP TABLE IF EXISTS foo; CREATE TABLE foo ( t VARCHAR ); INSERT INTO foo (t) VALUES ('a'), ('a'), ('b'), ('b'), ('c'); SELECT STRING_AGG(DISTINCT t ORDER BY t) FROM foo; However, if t is cast to text in both halves of the aggregate function, it works correctly: SELECT STRING_AGG(DISTINCT t::TEXT ORDER BY t::TEXT) FROM foo; It also works correctly if t is defined as TEXT instead of VARCHAR in the table definition. Note that if t is typecast in the ORDER BY but not the DISTINCT part, the statement still fails (even though STRING_AGG implicitly casts t to text) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs