Thread: enable debugging in jdbc

enable debugging in jdbc

From
Dries Verachtert
Date:
Hello,

At this moment, --enable-debug adds debugging information to most of the parts of postgresql. The jdbc drivers are
nevercompiled with debugging support. This patch make sure that debugging information is added to the jdbc jar when the
--enable-debugis added. This was usefull for me for debugging some java jdbc pooling objects but this might perhaps be
usefullfor other people too? 

The attachments are 'cvs diff -c' files. The file pgsql-changes-enable-debug-jdbc.patch contains the small patch before
autoconfhas been run. The file pgsql-changes-enable-debug-jdbc-after-autoconf.patch contains a large patch after
autoconfhas been run and configure has been changed completely. 

I tryed to send this mail already once on Sat, 19 Jan 2002 01:42:02 +0100 to pgsql-jdbc but i didn't receive it from
themailinglist and it didn't show up on archives.postgresql.org. 

Kind regards,
Dries Verachtert

Attachment

Re: enable debugging in jdbc

From
Bruce Momjian
Date:
This has been saved for the 7.3 release:

    http://candle.pha.pa.us/cgi-bin/pgpatches2

---------------------------------------------------------------------------

Dries Verachtert wrote:
>
> Hello,
>
> At this moment, --enable-debug adds debugging information to most of the parts of postgresql. The jdbc drivers are
nevercompiled with debugging support. This patch make sure that debugging information is added to the jdbc jar when the
--enable-debugis added. This was usefull for me for debugging some java jdbc pooling objects but this might perhaps be
usefullfor other people too? 
>
> The attachments are 'cvs diff -c' files. The file pgsql-changes-enable-debug-jdbc.patch contains the small patch
beforeautoconf has been run. The file pgsql-changes-enable-debug-jdbc-after-autoconf.patch contains a large patch after
autoconfhas been run and configure has been changed completely. 
>
> I tryed to send this mail already once on Sat, 19 Jan 2002 01:42:02 +0100 to pgsql-jdbc but i didn't receive it from
themailinglist and it didn't show up on archives.postgresql.org. 
>
> Kind regards,
> Dries Verachtert

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: enable debugging in jdbc

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list
at:

        http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


Dries Verachtert wrote:
>
> Hello,
>
> At this moment, --enable-debug adds debugging information to
> most of the parts of postgresql. The jdbc drivers are never
> compiled with debugging support. This patch make sure that
> debugging information is added to the jdbc jar when the
> --enable-debug is added. This was usefull for me for debugging
> some java jdbc pooling objects but this might perhaps be usefull
> for other people too?
>
> The attachments are 'cvs diff -c' files. The file
> pgsql-changes-enable-debug-jdbc.patch contains the small patch
> before autoconf has been run. The file
> pgsql-changes-enable-debug-jdbc-after-autoconf.patch contains
> a large patch after autoconf has been run and configure has been
> changed completely.
>
> I tryed to send this mail already once on Sat, 19 Jan 2002
> 01:42:02 +0100 to pgsql-jdbc but i didn't receive it from the
> mailinglist and it didn't show up on archives.postgresql.org.
>
> Kind regards, Dries Verachtert

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: enable debugging in jdbc

From
Bruce Momjian
Date:
Patch applied.  There was an unconditional debug added by someone, so I
removed it and instead used your configure flag passing to turn it on.
Thanks.


---------------------------------------------------------------------------

Dries Verachtert wrote:
>
> Hello,
>
> At this moment, --enable-debug adds debugging information to most of the parts of postgresql. The jdbc drivers are
nevercompiled with debugging support. This patch make sure that debugging information is added to the jdbc jar when the
--enable-debugis added. This was usefull for me for debugging some java jdbc pooling objects but this might perhaps be
usefullfor other people too? 
>
> The attachments are 'cvs diff -c' files. The file pgsql-changes-enable-debug-jdbc.patch contains the small patch
beforeautoconf has been run. The file pgsql-changes-enable-debug-jdbc-after-autoconf.patch contains a large patch after
autoconfhas been run and configure has been changed completely. 
>
> I tryed to send this mail already once on Sat, 19 Jan 2002 01:42:02 +0100 to pgsql-jdbc but i didn't receive it from
themailinglist and it didn't show up on archives.postgresql.org. 
>
> Kind regards,
> Dries Verachtert

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026