Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Cc: luuk(at)wxs(dot)nl
Subject: Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison
Date: 1999-10-08 01:47:53
Message-ID: 199910080147.VAA19377@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> tested your patch and there was no change in result. I think it
> wouldn't be nice if this will point out a bug in the perl pg driver
> because I can't imagine that you would like to do such things in
> there ...
>
> the new crash-me tests results are sent to monty so I think he will
> put them online tomorrow (today for you I think). I also did a test
> run on oracle and on a microsoft sql 7 server on windows nt (oracle
> on linux).

Enclosed is a patch that shows our perl interface can't handle '--'
comments, even though psql and the backend directly can handle them.

To add complexity to this, the backend -d3 log from the perl test
session shows the same query that works perfectly in a direct backend
connection.

Can anyone suggest a cause for this?

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

StartTransactionCommand
query: CREATE TABLE person (id int4, name char(16)) --test
ERROR: parser: parse error at or near "--"
AbortCurrentTransaction

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

Attachment Content-Type Size
unknown_filename text/plain 714 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-10-08 04:14:31 Cleanup of debugging flags, SSL
Previous Message Tatsuo Ishii 1999-10-08 01:34:39 Re: [HACKERS] Re: PostgreSQL Help