From: | "Jason E(dot) Stewart" <jason(at)openinformatics(dot)com> |
---|---|
To: | "Dave Rolsky" <autarch(at)urth(dot)org> |
Cc: | "David Wheeler" <david(at)wheeler(dot)net>, pgsql-interfaces(at)postgresql(dot)org, dbi-dev(at)perl(dot)org |
Subject: | Re: ANNOUNCE: DBD::Pg 1.20 |
Date: | 2002-11-30 17:47:09 |
Message-ID: | 87k7ivt0f6.fsf@openinformatics.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-announce pgsql-hackers pgsql-interfaces |
"Dave Rolsky" <autarch(at)urth(dot)org> writes:
> I found a bug in the ->tables method. It includes all the system tables.
> A patch is at the bottom of the message.
Thanks Dave,
> The SQL was correct in 1.13 so I'm not sure how this happened. There's
> also no real test of this method in the test suite, other than testing to
> make sure that calling it doesn't die. But you need to test that it
> returns the right thing too ;)
>
> I'd like to offer a test patch but I don't know exactly what you'd expect
> to find in the schema during testing.
t/01setup.t has the following:
my $sql = <<SQL;
CREATE TABLE test (
id int,
name text,
val text,
score float,
date timestamp default 'now()'
)
SQL
You can expect that table to exist. Also, you could create a couple of
more tables/views and test that as well.
Cheers,
jas.
PS. Thanks for the Mason book, I'm enjoying it.
From | Date | Subject | |
---|---|---|---|
Next Message | Jason E. Stewart | 2002-11-30 20:43:04 | Re: ANNOUNCE: DBD::Pg 1.20 |
Previous Message | Dave Page | 2002-11-29 16:23:03 | psqlODBC 07.02.0005 Released |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2002-11-30 17:47:53 | Re: 7.4 Wishlist |
Previous Message | Bruce Momjian | 2002-11-30 17:40:36 | Updated biography page |
From | Date | Subject | |
---|---|---|---|
Next Message | Jason E. Stewart | 2002-11-30 17:53:02 | ["Dean Arnold" <darnold@earthlink.net>] Re: Array Binding Status? |
Previous Message | Bruce Momjian | 2002-11-29 23:34:07 | Re: Determining C type for a given OID |