Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > pg_regress: dbn...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 9434 of 10966
Post > Topic >>

pg_regress: dbname in PostgreSQL test suite

by Jorgen.Austvik@[EMAIL PROTECTED] (Jorgen Austvik - Sun Norway) May 28, 2008 at 04:12 PM

This is a multi-part message in MIME format.

--Boundary_(ID_1YKGiWMsWqYaz+Qwqwxu3A)
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 8BIT

Hi.

pg_regress has a --dbname option (which actually take a list of database 
names):

   --dbname=DB               use database DB (default \"regression\")

.... but the PostgreSQL regression test suite does not really sup****t
this:

[jaustvik@[EMAIL PROTECTED]
 ggrep -R "regression" sql/* | grep -v 
regression_ | grep -v :--
sql/prepare.sql:EXECUTE q2('regression');
sql/privileges.sql:\c regression
sql/temp.sql:\c regression

I suggest we replace @[EMAIL PROTECTED]
 with the first element in the dblist 
linked list in convert_sourcefiles_in(). What do you think?

(I can provide a patch if you think it is an acceptable solution.)

-J
-- 

Jørgen Austvik, Software Engineering - QA
Sun Microsystems Database Group

http://blogs.sun.com/austvik/
http://www.austvik.net/

--Boundary_(ID_1YKGiWMsWqYaz+Qwqwxu3A)
Content-type: text/x-vcard; name=jorgen_austvik.vcf; charset=utf-8
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=jorgen_austvik.vcf

begin:vcard
fn;quoted-printable:J=C3=B8rgen Austvik
n;quoted-printable:Austvik;J=C3=B8rgen
org:Sun Microsystems;Database Group
adr:;;Haakon VII gt. 7b;Trondheim;;NO-7485;Norway
email;internet:jorgen.austvik@[EMAIL PROTECTED]
 Engineer
tel;work:+47 73 84 21 10 
tel;fax:+47 73 84 21 01
tel;cell:+47 901 97 886
note:http://www.austvik.net/
x-mozilla-html:FALSE
url:http://blogs.sun.com/austvik/
version:2.1
end:vcard


--Boundary_(ID_1YKGiWMsWqYaz+Qwqwxu3A)
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

--Boundary_(ID_1YKGiWMsWqYaz+Qwqwxu3A)--
 




 3 Posts in Topic:
pg_regress: dbname in PostgreSQL test suite
Jorgen.Austvik@[EMAIL PRO  2008-05-28 16:12:56 
Re: pg_regress: dbname in PostgreSQL test suite
tgl@[EMAIL PROTECTED] (T  2008-05-28 10:32:51 
Re: pg_regress: dbname in PostgreSQL test suite
andrew@[EMAIL PROTECTED]   2008-05-28 10:37:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 12:36:16 CST 2008.