[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4342] branches/1.3
- Subject: SF.net SVN: ledger-smb:[4342] branches/1.3
- From: ..hidden..
- Date: Tue, 21 Feb 2012 14:29:00 +0000
Revision: 4342
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4342&view=rev
Author: einhverfr
Date: 2012-02-21 14:28:59 +0000 (Tue, 21 Feb 2012)
Log Message:
-----------
Fixes to add_custom_fields for self-documentation and PostgreSQL 9.0
Fixes to dists/rpm/build.sh to support RHEL 5
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/dists/rpm/build.sh
branches/1.3/sql/Pg-database.sql
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2012-02-20 09:08:02 UTC (rev 4341)
+++ branches/1.3/Changelog 2012-02-21 14:28:59 UTC (rev 4342)
@@ -8,7 +8,12 @@
* Corrected erroneous log messages from debugging 1.3.11 (Chris T)
* Autocomplete ajaxselect now work (degraded) without Javascript (Chris T)
* Autocomplete ajaxselect now accept full entry without waiting (Chris T)
+* Inlined add_custom_field's argument names for autodocumentation (Chris T)
+* Updated add_custom_field to run on PostgreSQL 9.0 (Chris T)
+* Updated dists/rpm/build.sh to support RHEL 5 (Hilton D)
+Hilton D is Hilton Day
+
Changelog for 1.3.11
* Fixed outstanding report for payment reversal and partial payments (Chris T)
* Fixed handling of non-existing roles in menu grants (Chris T)
Modified: branches/1.3/dists/rpm/build.sh
===================================================================
--- branches/1.3/dists/rpm/build.sh 2012-02-20 09:08:02 UTC (rev 4341)
+++ branches/1.3/dists/rpm/build.sh 2012-02-21 14:28:59 UTC (rev 4342)
@@ -4,6 +4,9 @@
cp ../release/ledgersm*.tar.gz /root/rpmbuild/SOURCES/
-rpmbuild -ba dists/rpm/ledgersmb.spec
+rpmbuild -ba \
+ --define "_source_filedigest_algorithm 0" \
+ --define "_binary_filedigest_algorithm 0" \
+ dists/rpm/ledgersmb.spec
mv /root/rpmbuild/SOURCES/ledgersmb* ../release
Modified: branches/1.3/sql/Pg-database.sql
===================================================================
--- branches/1.3/sql/Pg-database.sql 2012-02-20 09:08:02 UTC (rev 4341)
+++ branches/1.3/sql/Pg-database.sql 2012-02-21 14:28:59 UTC (rev 4342)
@@ -2245,14 +2245,9 @@
FOR EACH ROW EXECUTE PROCEDURE trigger_parts_short();
-- end function
-CREATE OR REPLACE FUNCTION add_custom_field (VARCHAR, VARCHAR, VARCHAR)
+CREATE OR REPLACE FUNCTION add_custom_field (table_name VARCHAR, new_field_name VARCHAR, field_datatype VARCHAR)
RETURNS BOOL AS
'
-DECLARE
-table_name ALIAS FOR $1;
-new_field_name ALIAS FOR $2;
-field_datatype ALIAS FOR $3;
-
BEGIN
perform TABLE_ID FROM custom_table_catalog
WHERE extends = table_name;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.