6.0.0-beta1
7/6/25

[#7600] scripts/upgrades/2.2.1_to_2.3.sql needs pgsql version
Summary scripts/upgrades/2.2.1_to_2.3.sql needs pgsql version
Queue Turba
Queue Version 2.3
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester kristian.lance (at) crc (dot) ca
Created 10/28/2008 (6095 days ago)
Due
Updated 10/09/2009 (5749 days ago)
Assigned
Resolved 10/28/2008 (6095 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/09/2009 05:20:06 PM Jessiepinkyx7 (at) hotmail (dot) com Comment #3 Reply to this comment
Duplicate of bug #7462.
dUPLICATE OF BUG#  7569


10/28/2008 10:33:36 PM Jan Schneider Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of bug #7462.
10/28/2008 06:48:51 PM kristian (dot) lance (at) crc (dot) ca Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ scripts/upgrades/2.2.1_to_2.3.sql needs pgsql version
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
In the turba/scripts/upgrades/2.2.1_to_2.3.sql file, the following

queries are not accepted by Postgresql:



ALTER TABLE turba_shares CHANGE share_owner share_owner VARCHAR(255);

ALTER TABLE turba_shares_users CHANGE user_uid user_uid VARCHAR(255);

ALTER TABLE turba_shares_groups CHANGE group_uid group_uid VARCHAR(255);



These will work with MySQL, but there should be a 2.2.1_to_2.3.pgsql.sql

file containing the following PostgreSQL-compatible queries:



ALTER TABLE turba_shares ALTER COLUMN share_owner TYPE VARCHAR(255);

ALTER TABLE turba_shares_users ALTER COLUMN user_uid TYPE VARCHAR(255);

ALTER TABLE turba_shares_groups ALTER COLUMN group_uid TYPE VARCHAR(255);



This is covered by Changing a Column's Data Type on the following

PostgreSQL reference page:



http://www.postgresql.org/docs/8.3/static/ddl-alter.html#AEN2337

Saved Queries