Commit Graph

6917 Commits

Author SHA1 Message Date
Tom Lane 07d2c3e0a0 Another static-vs-not-static error. 2000-04-14 01:34:24 +00:00
Tom Lane a7f2dd347b Remove bogus extern for 'descriptors' variable, which is in fact static.
Some compilers object to seeing extern and later static ...
2000-04-14 01:26:49 +00:00
Tom Lane 87ca3bd294 #undef const, inline, signed, volatile, on the expectation that a C++
compiler will understand them.  configure may have #define'd them to
empty because the local C compiler doesn't understand them, but this
may very well cause a C++ compilation to fail, so don't do it in C++.
2000-04-14 01:00:16 +00:00
Tom Lane 07672d4e0a Skip setsockopt(SO_REUSEADDR) for the Unix-domain postmaster socket on
all platforms, not just SCO.  The operation is undefined for Unix-domain
sockets anyway.  It seems SCO is not the only platform that complains
instead of treating the call as a no-op.
2000-04-14 00:51:58 +00:00
Tom Lane bf00aec8d0 If configure finds that inet_aton() is not present on this platform,
include the version from backend/port into libpq.
There is a second-rate implementation of inet_aton() already present
in fe-connect.c, #ifdef'd WIN32.  That ought to be removed in favor
of using the better version from port/.  However, since I'm not in a
position to test the WIN32 code, I will leave well enough alone for
this release...
2000-04-14 00:42:06 +00:00
Tom Lane 977fad3f17 Revert inclusion of postgres_ext.h to use "..." instead of <...>, per
request from XEmacs people.
2000-04-14 00:24:52 +00:00
Tom Lane 9d91db4fde Repair bug reported by Wickstrom: backend would crash if WHERE clause
contained a sub-SELECT nested within an AND/OR tree that cnfify()
thought it should rearrange.  Same physical sub-SELECT node could
end up linked into multiple places in resulting expression tree.
This is harmless for most node types, but not for SubLink.
Repair bug by making physical copies of subexpressions that get
logically duplicated by cnfify().  Also, tweak the heuristic that
decides whether it's a good idea to do cnfify() --- we don't really
want that to happen when it would cause multiple copies of a subselect
to be generated, I think.
2000-04-14 00:19:17 +00:00
Bruce Momjian 2e67ecaf6f Change DEFINE TYPE to CREATE TYPE. 2000-04-13 21:44:25 +00:00
Jan Wieck 3e00c9db4a Fixed CREATE TYPE to recognize changed parsenodes
Jan
2000-04-13 11:51:07 +00:00
Bruce Momjian 5eaa271b77 No longer need to cast default non-cacheable functions. 2000-04-13 07:19:27 +00:00
Bruce Momjian 97580f6993 A few more macro cleanups 2000-04-12 20:33:37 +00:00
Bruce Momjian 2a08204e1f Update man page to prefer old over current. 2000-04-12 20:07:13 +00:00
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
Bruce Momjian db4518729d Reverse out macro fix for the time being. 2000-04-12 05:29:10 +00:00
Bruce Momjian 8758985c3a Prevent drop database failure from showing. 2000-04-12 05:24:51 +00:00
Bruce Momjian 37e7c7dfcb Fix assert with missing semicolon 2000-04-12 04:58:09 +00:00
Thomas G. Lockhart 50b10b8a90 Fix up markup to allow building.
Adjust two-word substitution parameters to be one word only to reduce
 possible ambiguity.
2000-04-12 04:40:03 +00:00
Bruce Momjian 398bb1fcb6 Update pgindent 2000-04-12 01:01:49 +00:00
Bruce Momjian 83a57694d1 Update pgindent 2000-04-11 22:15:08 +00:00
Bruce Momjian 862d677682 Update pgindent for 7.0 release 2000-04-11 19:09:04 +00:00
Bruce Momjian b68a56a5e9 Thomas pointed out this bug in my non-blocking stuff.
Alfred Perlstein
2000-04-11 19:00:31 +00:00
Bruce Momjian ea81522034 Allow libpq++ compile to fail 2000-04-11 18:58:18 +00:00
Bruce Momjian b09a3b8cab disable plperl 2000-04-11 17:42:28 +00:00
Bruce Momjian 354a39bc44 Clean up temp files from \e. 2000-04-11 17:35:50 +00:00
Bruce Momjian c85a8e9df5 Uppercase pg_options param 2000-04-11 17:23:35 +00:00
Thomas G. Lockhart 9f2a07d891 Internal functions to support newest ODBC driver {fn ...} conventions.
Includes compiled code to support pre-7.0 backends, but for 7.0 only
requires executing odbc.sql.
2000-04-11 15:53:13 +00:00
Bruce Momjian f947bbb3b2 Attached is are diffs for CREATE/ALTER table doc I've
forgotten in my mailbox (sorry). Haven't tried to  apply  and
    since I don't have working sgml stuff cannot check.

Jan
2000-04-11 14:43:54 +00:00
Thomas G. Lockhart bdf6c4f012 Update porting list.
Fix markup to get clean compile.
2000-04-11 05:39:15 +00:00
Bruce Momjian d57046097a Update for default ISO date style 2000-04-11 03:56:19 +00:00
Bruce Momjian 5a5a4caeda Update SET manual pages for pg_options. 2000-04-11 03:49:04 +00:00
Tom Lane 2692d329eb Tweak smgrblindwrt per advice from Vadim: add parameter indicating
whether to do fsync or not, and if so (which should be seldom) just
do the fsync immediately.  This way we need not build data structures
in md.c/fd.c for blind writes.
2000-04-10 23:41:52 +00:00
Bruce Momjian a447ae2221 The constant in backend/utils/misc/trace.c, line 32 limits the length of
logged queries to 1024, truncating longer queries.  That is about half of
the size I need (I have a union that is 2K long).  Can someone consider
bumping it to 4K or so?  Patch attached...

Regards,
Ed Loehr
2000-04-10 19:25:29 +00:00
Bruce Momjian 5b795bec59 No revoke on indexes any more 2000-04-10 01:35:44 +00:00
Hiroshi Inoue 8a5851880e Fix an Assert bug(was my fault) pointed out by Tom Lane. 2000-04-10 00:45:42 +00:00
Bruce Momjian 8d04225a19 UPdate faq/ 2000-04-09 19:17:27 +00:00
Bruce Momjian f49cbb54f1 No more need to create groups manually. 2000-04-09 12:14:25 +00:00
Bruce Momjian d888ca7c08 No grant on indexes. 2000-04-09 12:08:33 +00:00
Tom Lane 1f6d8b90b8 Buffer manager modifications to keep a local buffer-dirtied bit as well
as a shared dirtybit for each shared buffer.  The shared dirtybit still
controls writing the buffer, but the local bit controls whether we need
to fsync the buffer's file.  This arrangement fixes a bug that allowed
some required fsyncs to be missed, and should improve performance as well.
For more info see my post of same date on pghackers.
2000-04-09 04:43:20 +00:00
Tom Lane 9c38a8d296 Further tweaking of indexscan cost estimates. 2000-04-09 04:31:37 +00:00
Tom Lane 5db0ef84e6 Add explanation about 'Unrecognized variable client_encoding'
message at startup.
2000-04-08 23:32:34 +00:00
Bruce Momjian 321eedd0bf Document FSYNC in pg_options sgml file. 2000-04-08 23:12:01 +00:00
Bruce Momjian 9b7ba2002d Add new pg_options.sample file. 2000-04-08 19:38:00 +00:00
Tom Lane bb7e5dc2c0 Tweak TypeCategory to treat new BIT types as of STRING category, rather
than not knowing what they are at all.  Perhaps they should have their own
type category?  Hard to say.  In the meantime, doing it this way allows
SELECT 'unknown' || 'unknown' to continue being resolved as textcat,
instead of spitting out an ambiguous-operator error.
2000-04-08 19:29:40 +00:00
Tom Lane b64e768595 I think we want machine pattern i.86 not i386 --- looks like config.guess
could output several different high digits on most PC Unixen.
2000-04-08 19:20:10 +00:00
Bruce Momjian 949e8a662d Add colo to display at end of initdb. 2000-04-08 18:35:30 +00:00
Tom Lane 7ecf7eea63 Modify pgbench.c not to depend on configure, since it's not shipped with one. 2000-04-08 18:32:24 +00:00
Michael Meskes d78feff973 *** empty log message *** 2000-04-08 12:20:27 +00:00
Tom Lane 607c6d25d7 Link already-existing COMMENT and REINDEX command docs into documentation. 2000-04-08 05:11:03 +00:00
Tom Lane ed845c7374 Fix relcache refcount leakage when inv_drop is applied
to a non-LO relation.
2000-04-08 04:37:07 +00:00
Tom Lane f0a2fc38ab Mention cube root. 2000-04-08 03:42:29 +00:00