1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-24 14:22:24 +03:00
Commit Graph

41511 Commits

Author SHA1 Message Date
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
2e67ecaf6f Change DEFINE TYPE to CREATE TYPE. 2000-04-13 21:44:25 +00:00
3e00c9db4a Fixed CREATE TYPE to recognize changed parsenodes
Jan
2000-04-13 11:51:07 +00:00
5eaa271b77 No longer need to cast default non-cacheable functions. 2000-04-13 07:19:27 +00:00
97580f6993 A few more macro cleanups 2000-04-12 20:33:37 +00:00
2a08204e1f Update man page to prefer old over current. 2000-04-12 20:07:13 +00:00
52f77df613 Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
db4518729d Reverse out macro fix for the time being. 2000-04-12 05:29:10 +00:00
8758985c3a Prevent drop database failure from showing. 2000-04-12 05:24:51 +00:00
37e7c7dfcb Fix assert with missing semicolon 2000-04-12 04:58:09 +00:00
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
398bb1fcb6 Update pgindent 2000-04-12 01:01:49 +00:00
83a57694d1 Update pgindent 2000-04-11 22:15:08 +00:00
862d677682 Update pgindent for 7.0 release 2000-04-11 19:09:04 +00:00
b68a56a5e9 Thomas pointed out this bug in my non-blocking stuff.
Alfred Perlstein
2000-04-11 19:00:31 +00:00
ea81522034 Allow libpq++ compile to fail 2000-04-11 18:58:18 +00:00
b09a3b8cab disable plperl 2000-04-11 17:42:28 +00:00
354a39bc44 Clean up temp files from \e. 2000-04-11 17:35:50 +00:00
c85a8e9df5 Uppercase pg_options param 2000-04-11 17:23:35 +00:00
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
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
bdf6c4f012 Update porting list.
Fix markup to get clean compile.
2000-04-11 05:39:15 +00:00
d57046097a Update for default ISO date style 2000-04-11 03:56:19 +00:00
5a5a4caeda Update SET manual pages for pg_options. 2000-04-11 03:49:04 +00:00
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
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
5b795bec59 No revoke on indexes any more 2000-04-10 01:35:44 +00:00
8a5851880e Fix an Assert bug(was my fault) pointed out by Tom Lane. 2000-04-10 00:45:42 +00:00
8d04225a19 UPdate faq/ 2000-04-09 19:17:27 +00:00
f49cbb54f1 No more need to create groups manually. 2000-04-09 12:14:25 +00:00
d888ca7c08 No grant on indexes. 2000-04-09 12:08:33 +00:00
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
9c38a8d296 Further tweaking of indexscan cost estimates. 2000-04-09 04:31:37 +00:00
5db0ef84e6 Add explanation about 'Unrecognized variable client_encoding'
message at startup.
2000-04-08 23:32:34 +00:00
321eedd0bf Document FSYNC in pg_options sgml file. 2000-04-08 23:12:01 +00:00
9b7ba2002d Add new pg_options.sample file. 2000-04-08 19:38:00 +00:00
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
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
949e8a662d Add colo to display at end of initdb. 2000-04-08 18:35:30 +00:00
7ecf7eea63 Modify pgbench.c not to depend on configure, since it's not shipped with one. 2000-04-08 18:32:24 +00:00
d78feff973 *** empty log message *** 2000-04-08 12:20:27 +00:00
607c6d25d7 Link already-existing COMMENT and REINDEX command docs into documentation. 2000-04-08 05:11:03 +00:00
ed845c7374 Fix relcache refcount leakage when inv_drop is applied
to a non-LO relation.
2000-04-08 04:37:07 +00:00
f0a2fc38ab Mention cube root. 2000-04-08 03:42:29 +00:00
75b5915b43 update 2000-04-08 02:44:55 +00:00
b99cdde0d7 Fix cross-references, update examples, copy-edit. 2000-04-08 02:39:02 +00:00
c264c4daeb Add reference page for pg_ctl. 2000-04-08 02:16:26 +00:00
9c075df519 Update some porting info.
Add mention of transcendental functions.
2000-04-08 02:16:08 +00:00
0337938fbf Add zpbit and varbit data types from Adrian Joubert
<a.joubert@albourne.com>.
2000-04-08 02:13:11 +00:00
6a2d926933 Update for to_char change. 2000-04-08 02:02:26 +00:00