First my apologies if this is out of date. I'm working with PgSQL 6.5.2 and not
the latest betas: a) through lack of time b) it's a production system, I can't
really afford to be playing with a beta.
Consequently the following may no longer be true and may have been fixed.
However, they certainly were broken in 6.5.2. It is actually only one problem,
but spreads across docs and the programming interface.
Apologies also for the cross-posting!
First the documentation problem. In the programmer docs, Chapter 4. Extensing
SQL: Functins (page x414.htm), under the C examples, the text refers to the
'TUPLE' type. This certainly used to be the case but has now been superceeded
by the type 'TupleTableSlot'
This then links onto the code installation problems, as the header files in the
installed include directory do not have a typedef for TupleTableSlot. This is
defined in .../src/include/executor/tuptable.h Just copying this across to the
installation directory causes no end of other files to be needed as well (e.g.
storgae/buf.h, access/tupdesc.h, access/htup.h - and these in turn require
loads of other files.....)
Surely TupleTableSlot should be defined in libpq-fe.h as should the prototype
for GetAttributeByName(). It would be nice to have TUPLE #defined as
TupleTableSlot so that old code doesn't break!!!!
Dr. Andrew C.R. Martin EMail: a(dot)c(dot)r(dot)martin(at)reading(dot)ac(dot)uk (work)
Lecturer in Bioinformatics andrew(at)stagleys(dot)demon(dot)co(dot)uk (home)
University of Reading
Tel.: +44 (0)118 987 5123x7022 Fax: +44 (0)118 931 0180
pgsql-docs by date
|Next:||From: Vince Vielhaber||Date: 2000-04-11 13:52:49|
|Subject: Re: Re: Postgres vs. PostgreSQL|
|Previous:||From: Jan Wieck||Date: 2000-04-11 11:39:56|
|Subject: Re: Updated docs needed for 7.0|
pgsql-interfaces by date
|Next:||From: Constantin Teodorescu||Date: 2000-04-11 13:36:51|
|Subject: No default operator type for indexes for numeric fields???|
|Previous:||From: Kovacs Zoltan Sandor||Date: 2000-04-11 11:03:51|
|Subject: WinODBC driver doesn't abort transaction on refint violation|