OSDN Git Service
Tatsuo Ishii [Thu, 11 Mar 2004 01:47:41 +0000 (01:47 +0000)]
Add NOWAIT option to LOCK command
Bruce Momjian [Wed, 10 Mar 2004 21:12:49 +0000 (21:12 +0000)]
Move non-blocking code into its own /port file, for code clarity.
Neil Conway [Wed, 10 Mar 2004 20:10:26 +0000 (20:10 +0000)]
Fix a typo.
Neil Conway [Wed, 10 Mar 2004 01:31:15 +0000 (01:31 +0000)]
Improvements to README.CVS
Bruce Momjian [Wed, 10 Mar 2004 00:28:11 +0000 (00:28 +0000)]
Remove HISTORY and INSTALL. Have them generated by the tarball scripts.
Add README.CVS to help CVS folks find this information.
Neil Conway [Tue, 9 Mar 2004 23:15:47 +0000 (23:15 +0000)]
Tweak some text to avoid using <command>SET</command> as a verb, per
suggestion from Peter E.
Bruce Momjian [Tue, 9 Mar 2004 22:40:10 +0000 (22:40 +0000)]
Add comment for Win32.
Bruce Momjian [Tue, 9 Mar 2004 20:10:10 +0000 (20:10 +0000)]
Remove blank line in Makefile.
Bruce Momjian [Tue, 9 Mar 2004 20:08:10 +0000 (20:08 +0000)]
Add HISTORY/INSTALL clean target to 7.4.X.
Peter Eisentraut [Tue, 9 Mar 2004 19:47:05 +0000 (19:47 +0000)]
Build scanner output when making a distribution.
Neil Conway [Tue, 9 Mar 2004 19:30:21 +0000 (19:30 +0000)]
Add documentation for the recent 'ALSO' patch for CREATE RULE. Along
the way, fix a typo and make a few SGML cleanups.
Bruce Momjian [Tue, 9 Mar 2004 17:40:27 +0000 (17:40 +0000)]
Rebuild HISTORY file to match our official style sheets.
Neil Conway [Tue, 9 Mar 2004 16:57:47 +0000 (16:57 +0000)]
Refer to GUC variables using <xref> tags rather than <varname> tags,
where appropriate. Add "id" and "xreflabel" tags to the descriptions
of the GUC variables to facilitate this. Also make a few minor docs
cleanups.
Bruce Momjian [Tue, 9 Mar 2004 05:11:53 +0000 (05:11 +0000)]
Corrects a typo, introduces missing variables, and rearranges the
initialization of stats process under EXEC_BACKEND.
[A cleaner, rationalized approach to stat/backend/SSDataBase child
processes under EXEC_BACKEND is on my TODO list. However this patch
takes care of immediate concerns (ie. stats test now passes under
win32)]
Claudio Natoli
Bruce Momjian [Tue, 9 Mar 2004 05:06:45 +0000 (05:06 +0000)]
Determines the PKGLIBDIR equivalent under win32. Requires pgsql lib and
bin directories to be packaged under the same root directory (eg. <some
path>/pgsql/bin and <some path>/pgsql/lib) for the win32 port, which
does not appear to be an onerous restriction.
Claudio Natoli
Bruce Momjian [Tue, 9 Mar 2004 05:05:41 +0000 (05:05 +0000)]
Add ALSO keyword to CREATE RULE.
Fabien COELHO
Bruce Momjian [Tue, 9 Mar 2004 04:53:37 +0000 (04:53 +0000)]
Make a separate win32 debug DLL along with the non-debug version:
Currently, src/interfaces/libpq/win32.mak builds a statically-linked
library "libpq.lib", a debug dll "libpq.dll", import library for the
debug dll "libpqdll.lib", a release dll "libpq.dll", import library for
the release dll "libpqdll.lib". To avoid naming clashes, I would make
the debug dll and import libraries "libpqd.dll" and "libpqddll.lib".
Basically, the debug build uses the cl flags: "/MDd /D _DEBUG", and the
release build uses the cl flags "/MD /D NDEBUG". Usually the debug
build has a "D" suffix on the file name, so for example:
libpqd.dll libpq, debug build
libpqd.lib libpq, debug build, import library
libpq.dll libpq, release build
libpq.lib libpq, release build, import library
David Turner
Bruce Momjian [Tue, 9 Mar 2004 04:49:02 +0000 (04:49 +0000)]
The win32 port backend will require the functionality provided by
canonicalize_path. Patch moves it from initdb.c to port/path.c.
Claudio Natoli
Bruce Momjian [Tue, 9 Mar 2004 04:45:48 +0000 (04:45 +0000)]
Done:
> * -Allow log lines to include session-level information, like database and user
Bruce Momjian [Tue, 9 Mar 2004 04:43:07 +0000 (04:43 +0000)]
Add:
#log_line_prefix = '' # e.g. '<%u%%%d> '
# %u=user name %d=database name
# %r=remote host and port
# %p=PID %t=timestamp %i=command tag
# %c=session id %l=session line number
# %s=session start timestamp
# %x=stop here in non-session processes
# %%='%'
Andrew Dunstan
Bruce Momjian [Tue, 9 Mar 2004 01:59:13 +0000 (01:59 +0000)]
I wanted to submit some changes to the bundled postgres startup
script for Mac OS X. I added calls to utilize the bundled apache
rotatelogs script in the DB startup for log rotation. Also modified
startup parameters file to allow using the "SystemStarter" utility to
start/stop/restart postgres with a rotating log file.
The script credits David Wheeler, 2002. I wrote him a message about
the changes an he suggested I post them here. I explain some of the
changes below.
Not sure how to submit the changes. I have 3 files, "PostgreSQL"
script, "StartupParameters.plist" file, "pg_startupscript.diff" file.
The diff file was run against the original "PostgreSQL" script file.
I'll try attaching them to this message. If they get filtered I can
resend if needed.
Thanks.
Ray A.
------------------------------------
1) Changed the "Provides" parameter in StartupParameters.plist to
"PostgreSQL" from "postgres database" simply for ease of typing. It
seems that the SystemStarter utility uses the "Provides" value if you
want to control the script. This way I did not have to enclose it in
quotes on commandline. The modified StartupParameters.plist is now an
XML document also.
2) For the startup script I added 2 user modifiable variables:
# do you want to rotate the log files, 1=true 0=false
ROTATELOGS=1
# logfile rotate in seconds
ROTATESEC="604800"
I also added a non modifiable variable:
# The apache log rotation utility
LOGUTIL="/usr/sbin/rotatelogs"
I modified the StartService and RestartService functions to execute
the new commands if the user wants log rotation.
Ray Aspeitia
Bruce Momjian [Mon, 8 Mar 2004 23:59:23 +0000 (23:59 +0000)]
Have SGML make clean remove text files output as well
Bruce Momjian [Mon, 8 Mar 2004 21:35:59 +0000 (21:35 +0000)]
Add comment about why ON COMMENT in non-current database throws just an
warning.
Bruce Momjian [Mon, 8 Mar 2004 17:38:31 +0000 (17:38 +0000)]
Update German FAQ.
Ian Barwick
Tom Lane [Mon, 8 Mar 2004 17:20:17 +0000 (17:20 +0000)]
Test for whether a previous IN join restricts the current join was too
strict, per discussion with Dennis Haney.
Also, rearrange the preceding tests to avoid redundancy.
Tom Lane [Sun, 7 Mar 2004 22:07:56 +0000 (22:07 +0000)]
Some editorial work on 7.4.2 release notes.
Neil Conway [Sun, 7 Mar 2004 20:41:27 +0000 (20:41 +0000)]
contrib/xml2 updates from John Gray:
I have changed the name of the new parse function to xml_valid and fixed
a reference to SortMem which meant that the code as supplied would work
against 7.3 and 7.4 but wouldn't work in CVS.
Michael Meskes [Sun, 7 Mar 2004 14:35:47 +0000 (14:35 +0000)]
Added multidimensional arrays as todo for ecpg.
Tom Lane [Sun, 7 Mar 2004 05:43:53 +0000 (05:43 +0000)]
When testing usability of a partial index, recognize that an index
predicate of the form 'foo IS NOT NULL' is implied by a WHERE clause
that uses 'foo' in any strict operator or function. Per suggestion
and preliminary implementation by John Siracusa; some further hacking
by moi.
Neil Conway [Sun, 7 Mar 2004 04:31:01 +0000 (04:31 +0000)]
Improve discussion of using OIDs for identifying rows, fix an instance of
incorrect SGML markup.
Joe Conway [Sun, 7 Mar 2004 02:27:00 +0000 (02:27 +0000)]
Added new versions of dblink, dblink_exec, dblink_open, dblink_close,
and, dblink_fetch -- allows ERROR on remote side of connection to
throw NOTICE locally instead of ERROR. Also removed documentation for
previously deprecated, now removed, functions.
Neil Conway [Sun, 7 Mar 2004 01:02:55 +0000 (01:02 +0000)]
Explicitely mention that some GUC variables cannot be changed at
runtime.
Neil Conway [Sun, 7 Mar 2004 01:01:44 +0000 (01:01 +0000)]
Editorialization of some text discussing 'IS NULL' vs. '= NULL'.
Bruce Momjian [Sat, 6 Mar 2004 02:52:46 +0000 (02:52 +0000)]
Use lynx -stdin and regenerate HISTORY
Tom Lane [Fri, 5 Mar 2004 23:16:17 +0000 (23:16 +0000)]
Improve documentation of virtual_host parameter: old text failed to
indicate that you could specify multiple listen addresses.
Bruce Momjian [Fri, 5 Mar 2004 20:01:46 +0000 (20:01 +0000)]
Have makefile reference /xml2.
Bruce Momjian [Fri, 5 Mar 2004 19:51:56 +0000 (19:51 +0000)]
First update of release notes for 7.4.2. Still needs work.
Bruce Momjian [Fri, 5 Mar 2004 19:50:55 +0000 (19:50 +0000)]
Oops, '-' doesn't work for my lynx either.
Change back to /dev/stdin, even though it isn't portable. Let's wait for
someone to complain they don't have /dev/stdin.
Bruce Momjian [Fri, 5 Mar 2004 19:48:03 +0000 (19:48 +0000)]
Use '-' for stdin on lynx, my lynx version doesn't support -stdin.
Bruce Momjian [Fri, 5 Mar 2004 19:29:23 +0000 (19:29 +0000)]
Update Polish FAQ, from Marcin Mazurek.
Bruce Momjian [Fri, 5 Mar 2004 05:15:16 +0000 (05:15 +0000)]
Add xml2 as skipped /contrib Makefile entry.
Bruce Momjian [Fri, 5 Mar 2004 04:13:15 +0000 (04:13 +0000)]
Add mention xml2 is a newer version.
Bruce Momjian [Fri, 5 Mar 2004 04:10:11 +0000 (04:10 +0000)]
Add missing xml files.
Bruce Momjian [Fri, 5 Mar 2004 03:57:58 +0000 (03:57 +0000)]
Move new version of contrib/ xml into xml2, keep old version in /xml.
Bruce Momjian [Fri, 5 Mar 2004 03:24:50 +0000 (03:24 +0000)]
Thanks to the generous support of Torchbox (torchbox.com), I
have been able to significantly improve the contrib/xml XPath
integration code.
New features:
* XPath set-returning function allows multiple results from an several
XPath queries to be used as a virtual table.
* Using libxslt, XSLT transformations (with and without parameters) are
supported. (Caution: This support allows generic URL fetching from
within the backend as well).
I've removed the old code so that it is all libxml based. Rather than
attach as a patch, I've put the tar.gz (10k!) at
http://www.azuli.co.uk/pgxml-1.0.tar.gz
(all files in archive are xml/....).
I think this is worth replacing the contrib version with, even though
the function names have changed (though the same functionality is
there), because it includes a SRF and some SPI usage, in addition to
linking to an external library. And it isn't a big module! Obviously, I
understand that people might prefer to move it elsewhere, or might have
reservations about replacing an existing contrib module with an
incompatible one. I'm open to suggestions.
John Gray
Bruce Momjian [Fri, 5 Mar 2004 02:41:14 +0000 (02:41 +0000)]
Per a brief conversation with Tom, I've created a patch for adding
support for 'week' within the date_trunc function.
Within the patch I added a couple of test cases and associated target
output, and changed the documentation to add 'week' appropriately.
Robert Creager
Tom Lane [Fri, 5 Mar 2004 01:53:59 +0000 (01:53 +0000)]
libpq's query to get the OIDs of large-object support functions was not
schema-safe. Make it so, and improve the internal support for knowledge
of server version.
Bruce Momjian [Fri, 5 Mar 2004 01:11:04 +0000 (01:11 +0000)]
Win32:
* Mostly, casting etc to remove compilation warnings in win32 only code.
* main.c: set _IONBF to stdout/stderr under win32 (under win32, _IOLBF
defaults to full buffering)
* pg_resetxlog/Makefile: ensures dirmod.o gets cleaned (got bitten by
this when, after "make clean"ing, switching compilation between Ming +
Cygwin)
Claudio Natoli
Bruce Momjian [Fri, 5 Mar 2004 01:00:45 +0000 (01:00 +0000)]
Fix for underscore in ID sgml markup.
Bruce Momjian [Fri, 5 Mar 2004 00:47:01 +0000 (00:47 +0000)]
Add new SPI functions for use by PL/Java:
+extern Oid SPI_getargtypeid(void *plan, int argIndex);
+extern int SPI_getargcount(void *plan);
+extern bool SPI_is_cursor_plan(void *plan);
Thomas Hallgren
Bruce Momjian [Fri, 5 Mar 2004 00:21:41 +0000 (00:21 +0000)]
Fix log_executor_stats for non-multi queries. Backpatch to 7.4.X.
Neil Conway [Thu, 4 Mar 2004 21:47:18 +0000 (21:47 +0000)]
Emit a warning when an empty string is input to the oid, float4, and
float8 types. This begins the deprecation of this feature: in 7.6,
this input will be rejected.
Also added a new error code for warnings about deprecated features,
and updated the regression tests.
Dennis Bjorklund [Thu, 4 Mar 2004 20:09:29 +0000 (20:09 +0000)]
The trim function doc did not say that the second argument could be
be omitted. This patch fixes that. It also fixes a bug where the
type text was not wrapped as <type>text</type>.
Bruce Momjian [Thu, 4 Mar 2004 14:32:12 +0000 (14:32 +0000)]
Better document INSTEAD behavior for rules.
Michael Meskes [Thu, 4 Mar 2004 07:32:02 +0000 (07:32 +0000)]
- Fixed segfault due to missing check for variable declaration.
- Added check for multidimensional array usage.
Neil Conway [Wed, 3 Mar 2004 22:22:24 +0000 (22:22 +0000)]
Add a few more cross-references where appropriate, add more text about
the FROM clause and an example to the UPDATE reference page, and make
a few other SGML tweaks.
Tom Lane [Wed, 3 Mar 2004 21:28:55 +0000 (21:28 +0000)]
Modify pg_dump so that the preferred dump order is by name within
object types, rather than by OID. This should help ensure consistent
dump output from databases that are logically the same but have different
histories, per recent discussion about 'diffing' databases. The patch
is bulky because of renaming of fields, but not very complicated.
Also, do some tweaking to cause BLOB restoration to be done in a better
order, and clean up pg_restore's textual output to exactly match pg_dump.
Bruce Momjian [Wed, 3 Mar 2004 17:37:22 +0000 (17:37 +0000)]
Fix wording of new bison warning, per Peter.
Bruce Momjian [Wed, 3 Mar 2004 14:26:48 +0000 (14:26 +0000)]
Remove Jan:
< o Add PL/PHP (Joe, Jan)
> o Add PL/PHP (Joe)
Bruce Momjian [Wed, 3 Mar 2004 14:24:12 +0000 (14:24 +0000)]
Seems the usage message for oid2name calls it pg_oid2name. Fixed.
Bruce Momjian [Wed, 3 Mar 2004 05:16:53 +0000 (05:16 +0000)]
Add:
> o Add way to remove cluster specification on a table
Bruce Momjian [Wed, 3 Mar 2004 04:22:47 +0000 (04:22 +0000)]
Adds the -W flag to the pwd call under Win32. This allows directories,
which are munged by sed, such as:
/e/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data to be
correctly passed as:
e:/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data
FWIW, "fixes" a large (> 20) tests under Win32.
Claudio Natoli
Tom Lane [Tue, 2 Mar 2004 22:17:34 +0000 (22:17 +0000)]
Remove useless rebuilding of subPlan list during ExecInitNode. Wouldn't
have been there to start with, except for overly enthusiastic copy-and-
paste ...
Tom Lane [Tue, 2 Mar 2004 22:05:24 +0000 (22:05 +0000)]
Update obsolete comment.
Tom Lane [Tue, 2 Mar 2004 21:14:44 +0000 (21:14 +0000)]
Always schema-qualify the name of a function referenced in CREATE CAST.
The former coding failed if the cast function was not in the pg_catalog
schema. How'd this escape detection?
Bruce Momjian [Tue, 2 Mar 2004 20:08:52 +0000 (20:08 +0000)]
Update bison warning to be clearer about its purpose.
Tom Lane [Tue, 2 Mar 2004 18:56:15 +0000 (18:56 +0000)]
Junkfilter logic to force a projection step during SELECT INTO was too
simplistic; it recognized SELECT * FROM but not SELECT * FROM LIMIT.
Per bug report from Jeff Bohmer.
Bruce Momjian [Tue, 2 Mar 2004 18:37:52 +0000 (18:37 +0000)]
Fix sizeof(Oid) in PGSTAT_NUM_TABPURGE. (Actually done in previous commit.)
Bruce Momjian [Tue, 2 Mar 2004 18:35:59 +0000 (18:35 +0000)]
Add missing checks for Borland C compiler.
L J Bayuk
Tom Lane [Tue, 2 Mar 2004 16:42:20 +0000 (16:42 +0000)]
Teach is_distinct_query to recognize that GROUP BY forces a subquery's
output to be distinct, if all the GROUP BY columns appear in the output.
Per suggestion from Dennis Haney.
Bruce Momjian [Tue, 2 Mar 2004 15:46:22 +0000 (15:46 +0000)]
Update Turkish FAQ, Devrim GUNDUZ
Bruce Momjian [Tue, 2 Mar 2004 15:17:16 +0000 (15:17 +0000)]
Add missing sprompt.obj psql usage for Borland compiler, per private
report from krizsan.
Backpatch to 7.4.X.
Michael Meskes [Tue, 2 Mar 2004 06:45:05 +0000 (06:45 +0000)]
Added partly missing VOLATILE keyword.
Tom Lane [Tue, 2 Mar 2004 00:38:46 +0000 (00:38 +0000)]
Update release notes for 7.3.6.
Tom Lane [Tue, 2 Mar 2004 00:03:02 +0000 (00:03 +0000)]
Replace unportable use of /dev/stdin with lynx's -stdin switch.
Neil Conway [Mon, 1 Mar 2004 17:58:39 +0000 (17:58 +0000)]
Add a few more xrefs, where they seemed appropriate: for example, refer
to the discussion of planner statistics in the documentation for the
default_statistics_target GUC var.
Neil Conway [Mon, 1 Mar 2004 16:08:58 +0000 (16:08 +0000)]
Enable some additional warnings when running openjade and onsgmls.
Tom Lane [Sun, 29 Feb 2004 17:36:05 +0000 (17:36 +0000)]
make_sort_from_pathkeys()'s method for choosing which of several
equivalent sort expressions to use was broken: you can't just look
at the relation membership, you have to actually grovel over the
individual Vars in each expression. I think this did work when it
was written, but it was broken by subsequent optimizations that made
join relations not propagate every single input variable upward.
Must find the Var that got propagated, not choose one at random.
Per bug report from Daniel O'Neill.
Neil Conway [Sun, 29 Feb 2004 15:45:53 +0000 (15:45 +0000)]
Fix a typo in a recent commit to func.sgml that apparently broke the doc
build for some versions of OpenJade (unfortunately, my local version of
OpenJade didn't report the error...) -- thanks to Andrew Dunstan for
the report.
Neil Conway [Sun, 29 Feb 2004 15:36:46 +0000 (15:36 +0000)]
Fix a bunch (~88) typos that the OpenJade tools don't warn about by
default: some SGML tags weren't properly terminated.
Bruce Momjian [Sun, 29 Feb 2004 02:41:45 +0000 (02:41 +0000)]
"Corrects" the int8/float4/float8 tests under win32.
Claudio Natoli
Tom Lane [Sat, 28 Feb 2004 19:46:06 +0000 (19:46 +0000)]
Remove unneeded indxqual field in IndexScanState, and the useless work
spent initializing it during indexscan startup.
Dennis Bjorklund [Sat, 28 Feb 2004 17:17:48 +0000 (17:17 +0000)]
Translation updates
Dennis Bjorklund [Sat, 28 Feb 2004 11:05:12 +0000 (11:05 +0000)]
Translation update
Dennis Bjorklund [Sat, 28 Feb 2004 11:00:06 +0000 (11:00 +0000)]
Translation updates
Dennis Bjorklund [Sat, 28 Feb 2004 10:52:06 +0000 (10:52 +0000)]
Translation updates
Tom Lane [Fri, 27 Feb 2004 21:48:04 +0000 (21:48 +0000)]
Adjust remove_redundant_join_clauses() so that when it has a choice
of which redundant clause to remove, it removes the more expensive one.
In simple scenarios the clauses will be like 'var = var' and there's
no difference, but we are now capable of considering cases where there
are sub-selects in the clauses, and it makes a BIG difference.
Tom Lane [Fri, 27 Feb 2004 21:44:34 +0000 (21:44 +0000)]
genericcostestimate() neglected to include qual startup cost in
indexTotalCost. I think this may not make any real difference in 7.4,
but it definitely is a problem with CVS tip's new equation.
Tom Lane [Fri, 27 Feb 2004 21:42:00 +0000 (21:42 +0000)]
process_implied_equality must copy the substructure of the clauses it
is generating, to avoid problems when subselects are involved. Per
report from Damon Hart.
Neil Conway [Fri, 27 Feb 2004 03:59:23 +0000 (03:59 +0000)]
Fix a few omissions in the initcap() documentation & source code
comments, make some unrelated improvements to the functions
documentation, and perform some minor consistency cleanup
elsewhere. Original initcap() change from Dennis B., additional
changes by Neil C.
Bruce Momjian [Fri, 27 Feb 2004 01:23:18 +0000 (01:23 +0000)]
Update plpython docs to mention shared libs are possible in 2.3 or
later.
Bruce Momjian [Thu, 26 Feb 2004 02:59:26 +0000 (02:59 +0000)]
For immediate application to HEAD.
Corrects bit-rot of recently applied patch. win32/cygwin only.
Claudio Natoli
Bruce Momjian [Thu, 26 Feb 2004 02:09:40 +0000 (02:09 +0000)]
Update the pl/python shared build docs to match the recent version of
python.
Bruce Momjian [Wed, 25 Feb 2004 19:41:23 +0000 (19:41 +0000)]
For application to HEAD, following community review.
* Changes incorrect CYGWIN defines to __CYGWIN__
* Some localtime returns NULL checks (when unchecked cause SEGVs under
Win32
regression tests)
* Rationalized CreateSharedMemoryAndSemaphores and
AttachSharedMemoryAndSemaphores (Bruce, I finally remembered to do it);
requires attention.
Claudio Natoli
Tom Lane [Wed, 25 Feb 2004 18:10:51 +0000 (18:10 +0000)]
Teach plpgsql's lexer about dollar-quoted literals.
Andrew Dunstan, some help from Tom Lane.
Tom Lane [Tue, 24 Feb 2004 22:59:10 +0000 (22:59 +0000)]
anyarray really needs to be declared with typalign = 'd', so that entries
in pg_statistic are correctly aligned if they contain values that require
double alignment. Too bad we cannot force initdb for this in 7.4 branch.
Tom Lane [Tue, 24 Feb 2004 22:06:32 +0000 (22:06 +0000)]
Add %option nodefault to all our flex lexers. Fix a couple of rule gaps
exposed thereby. AFAICT these would not lead to any worse problems than
junk emitted on the backend's stdout, but we should have the option to
catch possible worse errors in future.
Tom Lane [Tue, 24 Feb 2004 21:45:18 +0000 (21:45 +0000)]
Implement dollar-quoting in the backend lexer and psql. Documentation
is still lacking, as is support in plpgsql and other places, but this is
the basic feature. Patch by Andrew Dunstan, some tweaking by Tom Lane.
Also, enable %option nodefault in these two lexers, and patch some gaps
revealed thereby.
Michael Meskes [Tue, 24 Feb 2004 16:07:49 +0000 (16:07 +0000)]
- Corrected error handling in PGTYPEStimestamp_from_asc.
- Set pgtypeslib version to 1.2.
Joe Conway [Tue, 24 Feb 2004 06:07:18 +0000 (06:07 +0000)]
When returning type "record", replace use of pgresultGetTupleDesc
with ReturnSetInfo->expectedDesc. This allows custom datatypes
(e.g. from tsearch2) to be returned at runtime. Previous behavior
depended on the type oid to match between the remote and local
database, which obviously doesn't work well for custom types.
Per report from Mark Gibson.