Skip site navigation (1) Skip section navigation (2)

Has anyone built pgbash-7.3 against postgreSQL-8.3?

From: "Darren Weber" <darren(dot)weber(dot)lists(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: sakaida(at)psn(dot)co(dot)jp
Subject: Has anyone built pgbash-7.3 against postgreSQL-8.3?
Date: 2008-10-01 01:10:56
Message-ID: b808b3510809301810j3c68d123u78f55ecedf3cca3@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
I'm curious about pgbash.  I've taken a look at the website here:
http://www.psn.co.jp/PostgreSQL/pgbash/index-e.html

According to the history on the main home page, the pgbash package was
last updated in 2003, ie:
2003.02.11 : pgbash-7.3 released (for PostgreSQL-7.3 and bash-2.05a).

I've made a start to build that package against postgresql-8.3 (on
macports).  The build failed with:

cc -O2 -I/opt/local/include/postgresql83  -c exec_sql_main.c
exec_sql_main.c:130: error: static declaration of 'sqlca' follows
non-static declaration
sqlca.h:44: error: previous declaration of 'sqlca' was here
make[1]: *** [exec_sql_main.o] Error 1
make: *** [../exec_sql/exec_sql_init.o] Error 1

It would be nice to debug this, if anyone can help?

I wonder about the general status of pgbash among the postgres
community - is it useful and is it still used?  Perhaps something else
replaced it and the development work stopped in 2003 in favor of
something else?

Thanks, Darren

Responses

pgsql-hackers by date

Next:From: Andrew ChernowDate: 2008-10-01 01:20:30
Subject: Re: Block-level CRC checks
Previous:From: Hitoshi HaradaDate: 2008-10-01 00:59:37
Subject: Re: Common Table Expressions (WITH RECURSIVE) patch

pgsql-general by date

Next:From: Gauthier, DaveDate: 2008-10-01 02:21:28
Subject: Running 2 versions of postgres on the same server at the same time ???
Previous:From: Rafael DomicianoDate: 2008-10-01 00:54:09
Subject: Re: [GENERAL] Functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group