<div dir="ltr">Great! Thanks Razvan!<div>So I don't need these changes?</div><div><pre style="color:rgb(0,0,0)">- pvar.c => #define PV_PRINT_BUF_SIZE 2048
- modules/avpops/avpops_impl.c:#define AVP_PRINTBUF_SIZE 2048
- modules/avpops/avpops_impl.c:#define STR_BUF_SIZE 2048</pre><pre style="color:rgb(0,0,0)">Patrick</pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 14, 2015 at 3:58 AM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Patrick!<br>
<br>
You should increase the avpops buffer size by using the buf_size
parameter[1].<br>
<br>
[1]
<a href="http://www.opensips.org/html/docs/modules/1.11.x/avpops.html#id293698" target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/avpops.html#id293698</a><br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div class="h5">
<div>On 07/13/2015 09:50 PM, Patrick Wakano
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<pre><font face="arial, helvetica, sans-serif">Hello List,</font></pre>
<pre><font face="arial, helvetica, sans-serif">In my script I am doing a very huge SQL query using avp_db_query() which is causing me this error:</font></pre>
<pre><font face="monospace, monospace">ERROR:core:pv_printf: no more space for spec value
ERROR:core:pv_printf: buffer overflow -- increase the buffer size from [1023]...
ERROR:avpops:ops_dbquery_avps: cannot print the query</font></pre>
<pre><font face="arial, helvetica, sans-serif">I already tried what was pointed in this tread (<a href="http://opensips.org/pipermail/devel/2008-January/011344.html" target="_blank">http://opensips.org/pipermail/devel/2008-January/011344.html</a>) but with no luck... The problem remains....</font></pre>
<pre><font face="arial, helvetica, sans-serif">Is there any other place where I should increase some buffer?</font></pre>
<pre><font face="arial, helvetica, sans-serif">I am using version 1.11.3</font></pre>
<pre><font face="arial, helvetica, sans-serif">Regards,</font></pre>
<pre><font face="arial, helvetica, sans-serif">Patrick</font></pre>
<pre><span style="font-family:arial,sans-serif">
</span></pre>
<pre><span style="font-family:arial,sans-serif">
</span></pre>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>