public inbox for [email protected]  
help / color / mirror / Atom feed
Re: [webmaster] Problem with 'report a bug form'
2+ messages / 2 participants
[nested] [flat]

* Re: [webmaster] Problem with 'report a bug form'
@ 2004-05-25 07:29  Dave Page <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Dave Page @ 2004-05-25 07:29 UTC (permalink / raw)
  To: pgsql-www; +Cc: David Brownlee <[email protected]>; [email protected]

Can someone take a look at this problem reported by David please (the
bug form that is, not the JDBC issue)? I'm pretty swamped right now :-(

Regards, Dave.

> -----Original Message-----
> From: David Brownlee [mailto:[email protected]] 
> Sent: 22 May 2004 18:15
> To: [email protected]
> Subject: [webmaster] Problem with 'report a bug form'
> 
>  	Submit does not appear to work:
> 
>  	Contents were:
> 
> 
> In AbstractJdbc2ResultSet:parseQuery can end up leaving a ; 
> on the end of a tablename, which when later used in 
> isUpdateable() will choke.
> The following 'fixes' it:
> 
> --- org/postgresql/jdbc2/AbstractJdbc2ResultSet.java.orig     
>   2004-05-21 
> 12:54
> :29.000000000 +0100
> +++ org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
> @@ -1448,7 +1450,7 @@ public abstract class AbstractJdbc2Resul
>                          {
>                                  if 
> (name.toLowerCase().equals("from"))
>                                  {
> -                                       tableName = st.nextToken();
> +                                       tableName =
> st.nextToken().replaceAll(";
> ", "");
>                                          tableFound = true;
>                                  }
> 
> This was found while writing a small java tool to copy the 
> contents of one database to another, which can be provided to 
> demonstrate the problem on request. Would have attached it 
> here if there had been an option :)
> 
> -- 
>  			   David Brownlee -- [email protected]
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to 
> [email protected]
> 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [webmaster] Problem with 'report a bug form'
@ 2004-05-26 15:18  Robert Treat <[email protected]>
  parent: Dave Page <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Treat @ 2004-05-26 15:18 UTC (permalink / raw)
  To: David Brownlee <[email protected]>; +Cc: pgsql-www

David, what made you think that the submission didn't work? I show your
report in the archives at
http://archives.postgresql.org/pgsql-bugs/2004-05/msg00130.php

Robert Treat

On Tue, 2004-05-25 at 03:29, Dave Page wrote:
> Can someone take a look at this problem reported by David please (the
> bug form that is, not the JDBC issue)? I'm pretty swamped right now :-(
> 
> Regards, Dave.
> 
> > -----Original Message-----
> > From: David Brownlee [mailto:[email protected]] 
> > Sent: 22 May 2004 18:15
> > To: [email protected]
> > Subject: [webmaster] Problem with 'report a bug form'
> > 
> >  	Submit does not appear to work:
> > 
> >  	Contents were:
> > 
> > 
> > In AbstractJdbc2ResultSet:parseQuery can end up leaving a ; 
> > on the end of a tablename, which when later used in 
> > isUpdateable() will choke.
> > The following 'fixes' it:
> > 
> > --- org/postgresql/jdbc2/AbstractJdbc2ResultSet.java.orig     
> >   2004-05-21 
> > 12:54
> > :29.000000000 +0100
> > +++ org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
> > @@ -1448,7 +1450,7 @@ public abstract class AbstractJdbc2Resul
> >                          {
> >                                  if 
> > (name.toLowerCase().equals("from"))
> >                                  {
> > -                                       tableName = st.nextToken();
> > +                                       tableName =
> > st.nextToken().replaceAll(";
> > ", "");
> >                                          tableFound = true;
> >                                  }
> > 
> > This was found while writing a small java tool to copy the 
> > contents of one database to another, which can be provided to 
> > demonstrate the problem on request. Would have attached it 
> > here if there had been an option :)
> > 
> > -- 
> >  			   David Brownlee -- [email protected]
> > 
> > ---------------------------(end of 
> > broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to 
> > [email protected]
> > 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to [email protected])

-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-05-26 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-25 07:29 Re: [webmaster] Problem with 'report a bug form' Dave Page <[email protected]>
2004-05-26 15:18 ` Robert Treat <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox