[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6294] trunk/sql/Pg-database.sql



Revision: 6294
          http://sourceforge.net/p/ledger-smb/code/6294
Author:   tshvr
Date:     2013-11-18 11:28:36 +0000 (Mon, 18 Nov 2013)
Log Message:
-----------
function  person__get_my_entity_id() also defined in Person.sql

Modified Paths:
--------------
    trunk/sql/Pg-database.sql

Modified: trunk/sql/Pg-database.sql
===================================================================
--- trunk/sql/Pg-database.sql	2013-11-18 10:53:00 UTC (rev 6293)
+++ trunk/sql/Pg-database.sql	2013-11-18 11:28:36 UTC (rev 6294)
@@ -33,7 +33,7 @@
        (6, 'Fixed Assets'),
        (7, 'Timecards');
 
---function person__get_my_entity_id() defined 2 times in Pg-database.sql
+--function person__get_my_entity_id() defined 2 times in Pg-database.sql, also defined in Person.sql
 --this first,dummy? definition needed because function is called in subsequent default statements in this file?
 CREATE OR REPLACE FUNCTION person__get_my_entity_id() RETURNS INT AS
 $$ SELECT -1;$$ LANGUAGE SQL;
@@ -4717,6 +4717,7 @@
        view_name text not null unique
 );
 
+--function  person__get_my_entity_id() also defined in Person.sql, may disappear here?
 CREATE OR REPLACE FUNCTION person__get_my_entity_id() RETURNS INT AS
 $$
 	SELECT entity_id from users where username = SESSION_USER;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits