1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-28 05:21:27 +03:00

142 Commits

Author SHA1 Message Date
Tom Lane
4fe42dfbc3 Add SHARE UPDATE EXCLUSIVE lock mode, coming soon to a VACUUM near you.
Name chosen per pghackers discussion around 6/22/01.
2001-07-09 22:18:34 +00:00
Bruce Momjian
a0c12d5e90 Add TEMPORARY sequences and have SERIAL on a temp table have a temporary
sequence.
2001-06-23 00:07:34 +00:00
Michael Meskes
cee82fab71 - Synced preproc.y with gram.y.
- Applied bug fix by John Summerfield.
2001-06-13 12:38:58 +00:00
Michael Meskes
cfd184371e - Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
        - Synced keyword.c.
        - Set ecpg version to 2.9.0.
        - Set library version to 3.3.0.
2001-06-01 06:23:19 +00:00
Tom Lane
f905d65ee3 Rewrite of planner statistics-gathering code. ANALYZE is now available as
a separate statement (though it can still be invoked as part of VACUUM, too).
pg_statistic redesigned to be more flexible about what statistics are
stored.  ANALYZE now collects a list of several of the most common values,
not just one, plus a histogram (not just the min and max values).  Random
sampling is used to make the process reasonably fast even on very large
tables.  The number of values and histogram bins collected is now
user-settable via an ALTER TABLE command.

There is more still to do; the new stats are not being used everywhere
they could be in the planner.  But the remaining changes for this project
should be localized, and the behavior is already better than before.

A not-very-related change is that sorting now makes use of btree comparison
routines if it can find one, rather than invoking '<' twice.
2001-05-07 00:43:27 +00:00
Tom Lane
ac2b9aee1c Synced gram.y and preproc.y. 2001-05-01 02:33:55 +00:00
Michael Meskes
495fe1214c Hopefully fixed the long long problem. 2001-04-05 08:21:14 +00:00
Michael Meskes
06e3d84d88 Fixed variable handling in preproc.y. 2001-02-26 14:42:54 +00:00
Michael Meskes
826dc14d8f Synced gram.y and preproc.y. 2001-02-19 07:30:20 +00:00
Tom Lane
d08741eab5 Restructure the key include files per recent pghackers discussion: there
are now separate files "postgres.h" and "postgres_fe.h", which are meant
to be the primary include files for backend .c files and frontend .c files
respectively.  By default, only include files meant for frontend use are
installed into the installation include directory.  There is a new make
target 'make install-all-headers' that adds the whole content of the
src/include tree to the installed fileset, for use by people who want to
develop server-side code without keeping the complete source tree on hand.
Cleaned up a whole lot of crufty and inconsistent header inclusions.
2001-02-10 02:31:31 +00:00
Michael Meskes
19c4197bd2 Synced gram.y and preproc.y. 2001-01-25 20:35:19 +00:00
Michael Meskes
88ce6a2ba0 Synced preproc.y with gram.y and added missing include file to pgc.l. 2001-01-22 17:05:50 +00:00
Michael Meskes
353f71a331 Synced preproc.y with gram.y. 2001-01-09 19:46:05 +00:00
Tom Lane
2fb6cc9045 Remove not-really-standard implementation of CREATE TABLE's UNDER clause,
and revert documentation to describe the existing INHERITS clause
instead, per recent discussion in pghackers.  Also fix implementation
of SQL_inheritance SET variable: it is not cool to look at this var
during the initial parsing phase, only during parse_analyze().  See
recent bug report concerning misinterpretation of date constants just
after a SET TIMEZONE command.  gram.y really has to be an invariant
transformation of the query string to a raw parsetree; anything that
can vary with time must be done during parse analysis.
2001-01-05 06:34:23 +00:00
Michael Meskes
13b78a2400 - Fixed bug in a connect statement using varchars.
- Synced parser.
2000-12-22 12:43:14 +00:00
Michael Meskes
77145ac824 - Synced gram.y and preproc.y.
- Synced keyword.c.
        - Added several small patches from Christof.
2000-12-18 11:33:55 +00:00
Bruce Momjian
23bd779176 Change ET_WARN to ET_NOTICE to match internal codes, leave message as
WARNING.  Fix German FAQ mention about warning.
2000-12-15 20:01:55 +00:00
Tom Lane
712af72c77 Fix yacc failures in preproc.y. 2000-11-20 22:03:06 +00:00
Michael Meskes
2d248d6585 Parser synced. 2000-11-20 10:50:42 +00:00
Michael Meskes
5cbbdd2ecb Applied yet another patch by Christof. Thanks Cristof!
Synced parser.
2000-11-09 14:06:57 +00:00
Michael Meskes
df8789bb15 Third try. Sorry, I had a wrong path in my copy statement. 2000-11-07 08:46:27 +00:00
Michael Meskes
b703c127ed Parser sync. 2000-11-03 10:47:54 +00:00
Michael Meskes
fae180f477 Added patch by Christof Petig <christof.petig@wtal.de> that fixes some bugs in preproc.y. 2000-10-31 15:11:38 +00:00
Michael Meskes
c7a3e0dfcb Sync preproc.y with gram.y. 2000-10-30 14:43:40 +00:00
Michael Meskes
dfb12a9850 Removed multibyte stuff since client does not know about encoding in the backendFixed quoting bug reported by Sascha Demetrio (sd@b-comp.de). 2000-10-29 09:44:58 +00:00
Michael Meskes
b111331d4b Synced preproc.y with gram.y. 2000-10-25 19:28:09 +00:00
Michael Meskes
03f9e5a5fc Added some more C constructs to the parser. 2000-10-25 07:00:33 +00:00
Michael Meskes
adeedf9047 Fixed some bugs in C language parsing. 2000-10-17 15:38:26 +00:00
Michael Meskes
0a97c4a047 Simplified parsing of connect rule. 2000-10-17 06:15:29 +00:00
Michael Meskes
3615a6a84d Fixed handling of variables in connect rule. 2000-10-16 19:53:04 +00:00
Michael Meskes
965a0a40e1 Replace constants by C variables wherever possible. 2000-10-12 18:25:36 +00:00
Michael Meskes
8e72a8782c Synced preproc.y with gram.y 2000-10-11 14:56:37 +00:00
Michael Meskes
76f286b2ce - Synced preproc.y with gram.y.
- Synced keyword.c.
- Added patch by Christof Petig <christof.petig@wtal.de> to fix NOT
  FOUND problem on update/insert/delete.
2000-09-26 11:41:45 +00:00
Michael Meskes
b4c8d47ab0 *** empty log message *** 2000-09-21 11:56:08 +00:00
Michael Meskes
e9c3f0255f *** empty log message *** 2000-09-19 11:47:16 +00:00
Tom Lane
d70bf0dd35 Rename BITSPERBYTE to BITS_PER_BYTE to avoid conflict with <values.h>
on some platforms.
2000-08-26 21:53:44 +00:00
Tom Lane
0224177400 TOAST mop-up work: update comments for tuple-size-related symbols such
as MaxHeapAttributeNumber.  Increase MaxAttrSize to something more
reasonable (given what it's used for, namely checking char(n) declarations,
I didn't make it the full 1G that it could theoretically be --- 10Mb
seemed a more reasonable number).  Improve calculation of MaxTupleSize.
2000-08-07 20:16:13 +00:00
Bruce Momjian
332f0f5fc0 Rename rule CURRENT to OLD in source tree. Add mapping for backward
compatiblity with old rules.
2000-06-12 19:40:58 +00:00
Bruce Momjian
8c1d09d591 Inheritance overhaul by Chris Bitmead <chris@bitmead.com> 2000-06-09 01:44:34 +00:00
Michael Meskes
d78feff973 *** empty log message *** 2000-04-08 12:20:27 +00:00
Michael Meskes
9fb20f105f *** empty log message *** 2000-04-05 09:05:40 +00:00
Michael Meskes
4aefba9077 *** empty log message *** 2000-04-02 08:51:44 +00:00
Michael Meskes
c9576ca1e0 *** empty log message *** 2000-03-30 11:41:46 +00:00
Michael Meskes
ac3884e2a9 *** empty log message *** 2000-03-23 07:53:48 +00:00
Michael Meskes
cf6420dd94 *** empty log message *** 2000-03-19 10:04:47 +00:00
Michael Meskes
8e0790519a *** empty log message *** 2000-03-15 19:09:10 +00:00
Michael Meskes
8e7764d9c2 *** empty log message *** 2000-03-09 09:17:16 +00:00
Michael Meskes
5a197810c0 *** empty log message *** 2000-03-07 15:11:03 +00:00
Michael Meskes
3a81a1a462 *** empty log message *** 2000-03-03 09:56:03 +00:00
Michael Meskes
85b2875a3a *** empty log message *** 2000-03-02 19:33:59 +00:00