-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No info on installing reporting stored procedure #31
Comments
You'll have to manually create the reports from the |
I figured that. I just couldn't get the stored procedure/function to
work/installed, and I couldn't figure out how to write it in plain SQL.
…On Thu, 11 Jun 2020 at 18:52, Ryan J Ollos ***@***.***> wrote:
You'll have to manually create the reports from the /report page:
https://trac.edgewall.org/wiki/TracReports#CreatingCustomReports
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANSGOT6YTOHK5VE33CYBXDRWFNZJANCNFSM4NZVHTTA>
.
--
Dominic Amann
M 416-270-4587
|
It looks like they might be written for PostgreSQL. Are you using SQLite? |
I took the trouble of switching to PostgreSQL to use them, but I don't know
where to install the stored functions.
…On Thu., Jun. 11, 2020, 11:11 p.m. Ryan J Ollos, ***@***.***> wrote:
It looks like they might be written for PostgreSQL. Are you using SQLite?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANSGOTOAXALVNV7SYTD5H3RWGMGVANCNFSM4NZVHTTA>
.
|
Oh, I see. I'm not sure how to load a stored procedure on PostgreSQL. Probably need to consult the official PostgreSQL documentation. |
Yes, and how do I integrate that into trac? Once I figure out the
postgresql part, then I need to find out the pg API representation of that,
and then the trac template/layout stuff - as in where do I put a part that
I want executed once against the database.
|
I will try to find time to look into that and get back to you. |
Any help at all would be very
much appreciated.
…On Fri, 26 Jun 2020 at 20:24, Ryan J Ollos ***@***.***> wrote:
I will try to find time to look into that and get back to you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANSGOW3L3INQHMO2PEVQELRYU35DANCNFSM4NZVHTTA>
.
--
Dominic Amann
M 416-270-4587
|
It looks to me like you need to run the scripts using Then, you will be able to use the stored procedures in Trac reports. |
I tried copying the reporting subdirectory into the installed tracsubtickets directory in dist-packages, but the stored procedure cannot be found by the example code.
Where does one need to install the stored procedure so it can be used?
The text was updated successfully, but these errors were encountered: