Skip to content
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

increase trigger or stored procedure body size above 32k [CORE2868] #3252

Closed
firebird-automations opened this issue Feb 16, 2010 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Philip Williams (unordained)

Is related to QA653

Votes: 8

32k limit on trigger and stored procedure PSQL bodies isn't normally a problem, but in my case, I'm auto-generating code (workflow procedures & triggers based on workflow definition), and the typical "solution" of splitting the code out into separate procedures isn't nearly as easy to apply. I really don't want to auto-split it into chunks like process0, process1, process2, etc. It's especially bad for triggers, where I'm auto-generating code that deals with NEW and OLD variables -- I can't just hand that off to one (or more) stored procedures, I'd have to auto-generate multiple triggers instead, and then I have to worry about the order in which they run, etc.

So what I'm saying is that there are cases where 32k really is a problem, and it'd be nice to fix. (Next problem: I'm building these procedures IN procedures, using a varchar to hold the DDL before it's executed -- even if the PSQL bodies could be larger than 32k, I'd need better blob-handling / execute-statement(blob) to support the whole mess!)

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA653 [ QA653 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants