Thread: pgbench written in Pro*C

pgbench written in Pro*C

From
Bruce Momjian
Date:
I received a copy of pgbench rewritten in Pro*C, which is similar to
embedded C.  I think it was done so the same program could be tested on
Oracle and PostgreSQL.

Are folks interested in this code?  Should it be put on gborg or in our
/contrib/pgbench?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: [PERFORM] pgbench written in Pro*C

From
Tom Lane
Date:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I received a copy of pgbench rewritten in Pro*C, which is similar to
> embedded C.  I think it was done so the same program could be tested on
> Oracle and PostgreSQL.

> Are folks interested in this code?  Should it be put on gborg or in our
> /contrib/pgbench?

If it requires non-free tools even to build, it is of no value.

            regards, tom lane

Re: [PERFORM] pgbench written in Pro*C

From
Bruce Momjian
Date:
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I received a copy of pgbench rewritten in Pro*C, which is similar to
> > embedded C.  I think it was done so the same program could be tested on
> > Oracle and PostgreSQL.
>
> > Are folks interested in this code?  Should it be put on gborg or in our
> > /contrib/pgbench?
>
> If it requires non-free tools even to build, it is of no value.

OK, it's only value would be if we could modify it so it compiled using
our ecpg and Pro*C and the comparison program could be run on both
databases.

I will tell the submitter to put it on gborg if they wish.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073