Great! Thanks Razvan!
So I don't need these changes?

- 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

Patrick


On Tue, Jul 14, 2015 at 3:58 AM, Răzvan Crainea <[email protected]> wrote:

>  Hi, Patrick!
>
> You should increase the avpops buffer size by using the buf_size
> parameter[1].
>
> [1] http://www.opensips.org/html/docs/modules/1.11.x/avpops.html#id293698
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Solutionswww.opensips-solutions.com
>
> On 07/13/2015 09:50 PM, Patrick Wakano wrote:
>
>  Hello List,
>
> In my script I am doing a very huge SQL query using avp_db_query() which is 
> causing me this error:
>
> 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
>
> I already tried what was pointed in this tread 
> (http://opensips.org/pipermail/devel/2008-January/011344.html) but with no 
> luck... The problem remains....
>
> Is there any other place where I should increase some buffer?
>
> I am using version 1.11.3
>
> Regards,
>
> Patrick
>
>
>
> _______________________________________________
> Users mailing 
> [email protected]http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to