pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Interface update for 7.3
10+ messages / 4 participants
[nested] [flat]

* Interface update for 7.3
@ 2002-11-27 04:56  Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 10+ messages in thread

From: Bruce Momjian @ 2002-11-27 04:56 UTC (permalink / raw)
  To: PostgreSQL-development <pgsql-hackers@postgreSQL.org>; pgsql-interfaces; +Cc: david@wheeler.net

I have worked on several gborg projects migrated from our CVS tree, and
all but one have new packaged releases, ready for 7.3:

	libpq++
	pgeasy
	pgperl

I am working with David Wheeler on DBD:pg and hope to have a release
packaged up tomorrow.

-- 
  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



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

* Re: Interface update for 7.3
@ 2002-11-27 09:15  Jason E. Stewart <jason@openinformatics.com>
  parent: Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 2 replies; 10+ messages in thread

From: Jason E. Stewart @ 2002-11-27 09:15 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>; pgsql-interfaces; david@wheeler.net

"Bruce Momjian" <pgman@candle.pha.pa.us> writes:

> I am working with David Wheeler on DBD:pg and hope to have a release
> packaged up tomorrow.

Bruce, David,

I'm updating all the test scripts to properly use the standard DBI
testing env vars, e.g. DBI_DSN, DBI_USER, DBI_PASS, and to use
Test::More.

I've finished and committed half of them, I'll let you know when I'm
done.

Cheers,
jas.



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

* Re: Interface update for 7.3
@ 2002-11-27 10:46  Jason E. Stewart <jason@openinformatics.com>
  parent: Jason E. Stewart <jason@openinformatics.com>
  1 sibling, 3 replies; 10+ messages in thread

From: Jason E. Stewart @ 2002-11-27 10:46 UTC (permalink / raw)
  To: Jason E. Stewart <jason@openinformatics.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; PostgreSQL-development <pgsql-hackers@postgreSQL.org>; pgsql-interfaces; david@wheeler.net

"Jason E. Stewart" <jason@openinformatics.com> writes:

> "Bruce Momjian" <pgman@candle.pha.pa.us> writes:
> 
> > I am working with David Wheeler on DBD:pg and hope to have a release
> > packaged up tomorrow.
> 
> Bruce, David,
> 
> I'm updating all the test scripts to properly use the standard DBI
> testing env vars, e.g. DBI_DSN, DBI_USER, DBI_PASS, and to use
> Test::More.
> 
> I've finished and committed half of them, I'll let you know when I'm
> done.

Ok, all done. All tests now use standard DBI vars and Test::More.

All tests pass.

David, could you take a look at 11quoting.t? I'm pretty sure you wrote
this test (didn't you?). I converted the array of tests to a hash
table so that I could give them names. However, I could only give the
tests names like 'one', 'two', etc. Perhaps you can think of something
more descriptive.

The names are a really nice feature of Test::More. When you run the
test files individually it prints out:

  1..8
  ok 1 - connect with transaction
  ok 2 - three: \ -> expected '\134' got '\134'
  ok 3 - five: \'?: -> expected '\134\047?:' got '\134\047?:'
  ok 4 - one: ' -> expected '\047' got '\047'
  ok 5 - two: '' -> expected '\047\047' got '\047\047'
  ok 6 - four: \' -> expected '\134\047' got '\134\047'
  ok 7 - SQL_BINARY
  ok 8 - disconnect

So that you can find a test by name when it fails.

Cheers,
jas.



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

* Re: Interface update for 7.3
@ 2002-11-27 15:16  David Wheeler <david@wheeler.net>
  parent: Jason E. Stewart <jason@openinformatics.com>
  1 sibling, 1 reply; 10+ messages in thread

From: David Wheeler @ 2002-11-27 15:16 UTC (permalink / raw)
  To: Jason E. Stewart <jason@openinformatics.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-interfaces; dbi-dev@perl.org

On Wednesday, November 27, 2002, at 01:15  AM, Jason E. Stewart wrote:

> I'm updating all the test scripts to properly use the standard DBI
> testing env vars, e.g. DBI_DSN, DBI_USER, DBI_PASS, and to use
> Test::More.

I love Test::More and use it for all of my projects, but I'm not sure 
we should use it for DBD::Pg, if for no other reason than that DBI 
doesn't use it. Test.pm will be adequate.

OTOH, if everybody says, screw it, use Test::More, then I'm all for it.

David

Note: Removed pgsql-hackers and added dbi-dev to recipients as that 
seems more appropriate for the continuation of this thread.

-- 
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org




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

* Re: Interface update for 7.3
@ 2002-11-27 15:22  David Wheeler <david@wheeler.net>
  parent: Jason E. Stewart <jason@openinformatics.com>
  2 siblings, 0 replies; 10+ messages in thread

From: David Wheeler @ 2002-11-27 15:22 UTC (permalink / raw)
  To: Jason E. Stewart <jason@openinformatics.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; PostgreSQL-development <pgsql-hackers@postgreSQL.org>; pgsql-interfaces

On Wednesday, November 27, 2002, at 02:46  AM, Jason E. Stewart wrote:

> David, could you take a look at 11quoting.t? I'm pretty sure you wrote
> this test (didn't you?). I converted the array of tests to a hash
> table so that I could give them names. However, I could only give the
> tests names like 'one', 'two', etc. Perhaps you can think of something
> more descriptive.

No, I didn't write it. I just added the test to make sure that 
SQL_BINARY threw an exception.

David

-- 
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org




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

* Re: Interface update for 7.3
@ 2002-11-27 15:33  David Wheeler <david@wheeler.net>
  parent: Jason E. Stewart <jason@openinformatics.com>
  2 siblings, 1 reply; 10+ messages in thread

From: David Wheeler @ 2002-11-27 15:33 UTC (permalink / raw)
  To: Jason E. Stewart <jason@openinformatics.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-interfaces

On Wednesday, November 27, 2002, at 02:46  AM, Jason E. Stewart wrote:

> Ok, all done. All tests now use standard DBI vars and Test::More.
>
> All tests pass.

Uh, what happened to t/10transition.t?

David

-- 
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org




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

* Re: [HACKERS] Interface update for 7.3
@ 2002-11-27 15:35  David Wheeler <david@wheeler.net>
  parent: Jason E. Stewart <jason@openinformatics.com>
  2 siblings, 0 replies; 10+ messages in thread

From: David Wheeler @ 2002-11-27 15:35 UTC (permalink / raw)
  To: Jason E. Stewart <jason@openinformatics.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-interfaces

On Wednesday, November 27, 2002, at 02:46  AM, Jason E. Stewart wrote:

> The names are a really nice feature of Test::More. When you run the
> test files individually it prints out:

Recent versions of Test.pm support names, too, IIRC.

David

PS: Sorry for three replies to the same message -- I'm not quite awake 
yet!

-- 
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org




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

* Re: Interface update for 7.3
@ 2002-11-27 16:09  Jason E. Stewart <jason@openinformatics.com>
  parent: David Wheeler <david@wheeler.net>
  0 siblings, 1 reply; 10+ messages in thread

From: Jason E. Stewart @ 2002-11-27 16:09 UTC (permalink / raw)
  To: David Wheeler <david@wheeler.net>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-interfaces

"David Wheeler" <david@wheeler.net> writes:

> On Wednesday, November 27, 2002, at 02:46  AM, Jason E. Stewart wrote:
> 
> > Ok, all done. All tests now use standard DBI vars and Test::More.
> >
> > All tests pass.
> 
> Uh, what happened to t/10transition.t?

I deleted it. Perhaps I was mistaken, but the tests it contained were
all duplicates of things in t/08txn.t

Was I mistaken? Is there some reason to keep it?

Cheers,
jas.



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

* Re: Interface update for 7.3
@ 2002-11-27 16:17  David Wheeler <david@wheeler.net>
  parent: Jason E. Stewart <jason@openinformatics.com>
  0 siblings, 0 replies; 10+ messages in thread

From: David Wheeler @ 2002-11-27 16:17 UTC (permalink / raw)
  To: Jason E. Stewart <jason@openinformatics.com>; +Cc: Bruce Momjian <pgman@candle.pha.pa.us>; pgsql-interfaces

On Wednesday, November 27, 2002, at 08:09  AM, Jason E. Stewart wrote:

> I deleted it. Perhaps I was mistaken, but the tests it contained were
> all duplicates of things in t/08txn.t

Oh, okay.

> Was I mistaken? Is there some reason to keep it?

Dunno. I never looked at 'em.

Would you update MANIFEST when you do stuff like this in the future?

Also, what's the story with the ChangeLog file you've added?

Thanks

-- 
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org




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

* Re: Interface update for 7.3
@ 2002-11-27 17:20  Thomas A. Lowery <tl-lists@stlowery.net>
  parent: David Wheeler <david@wheeler.net>
  0 siblings, 0 replies; 10+ messages in thread

From: Thomas A. Lowery @ 2002-11-27 17:20 UTC (permalink / raw)
  To: pgsql-interfaces; dbi-dev@perl.org

Most of the tests for DBD::ADO and DBI::Shell uses Test::More.

On Wed, Nov 27, 2002 at 07:16:52AM -0800, David Wheeler wrote:
> On Wednesday, November 27, 2002, at 01:15  AM, Jason E. Stewart wrote:
> 
> >I'm updating all the test scripts to properly use the standard DBI
> >testing env vars, e.g. DBI_DSN, DBI_USER, DBI_PASS, and to use
> >Test::More.
> 
> I love Test::More and use it for all of my projects, but I'm not sure 
> we should use it for DBD::Pg, if for no other reason than that DBI 
> doesn't use it. Test.pm will be adequate.
> 
> OTOH, if everybody says, screw it, use Test::More, then I'm all for it.

-- 
Thomas A. Lowery
See DBI/FAQ http://xmlproj.dyndns.org/cgi-bin/fom



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


end of thread, other threads:[~2002-11-27 17:20 UTC | newest]

Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-27 04:56 Interface update for 7.3 Bruce Momjian <pgman@candle.pha.pa.us>
2002-11-27 09:15 ` Jason E. Stewart <jason@openinformatics.com>
2002-11-27 10:46   ` Jason E. Stewart <jason@openinformatics.com>
2002-11-27 15:22     ` David Wheeler <david@wheeler.net>
2002-11-27 15:33     ` David Wheeler <david@wheeler.net>
2002-11-27 16:09       ` Jason E. Stewart <jason@openinformatics.com>
2002-11-27 16:17         ` David Wheeler <david@wheeler.net>
2002-11-27 15:35     ` David Wheeler <david@wheeler.net>
2002-11-27 15:16   ` David Wheeler <david@wheeler.net>
2002-11-27 17:20     ` Thomas A. Lowery <tl-lists@stlowery.net>

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