218f357d82
CLUSTER did no permissions checking, forsooth ...
2000-11-08 16:31:06 +00:00
e6e893e74f
Enable fallback to string type when argument(s) are of UNKNOWN type.
...
Same code exactly as for function resolution.
An obvious example is for
select '1' = '01';
which used to throw an error and which now resolves to two text strings.
2000-11-07 16:01:01 +00:00
3af2827f5b
This somehow gets moot. Is there a way to make gcc reject those comments?
...
Andreas
2000-11-07 11:35:16 +00:00
f27da05c00
Undo incorrectly committed Makefile.
2000-11-07 08:52:22 +00:00
df8789bb15
Third try. Sorry, I had a wrong path in my copy statement.
2000-11-07 08:46:27 +00:00
c823b1eedc
Added more patches by Cristif Petig.
2000-11-07 08:41:15 +00:00
5781dbc061
Update for new results.
2000-11-07 06:51:21 +00:00
52386df4b9
DropErrorMsg() died with assert failure if try to drop a toast table...
...
mea culpa...
2000-11-07 02:17:50 +00:00
ff0bca613f
Update geometry for FreeBSD 4.1 (same as 4.0)
2000-11-06 22:40:30 +00:00
306c44eead
Add -V option to backend, to show version, since --version doesn't seem
...
to work everywhere. Also, on FreeBSD you need to set the optreset variable
to 1 before parsing the command line a second time with getopt().
2000-11-06 22:18:10 +00:00
6f2f169015
Fix GNU make detection.
...
(The test 'make --version' with FreeBSD make (and potentially others)
would just reinvoke make on the same Makefile, resulting in an infinite
loop.)
2000-11-06 18:18:22 +00:00
db631de531
Add explicit ORDER BYs in a couple of cases --- seems to be necessary
...
to get platform-independent results.
2000-11-06 18:11:46 +00:00
e8f1340fe0
I think Thomas missed an update here...
2000-11-06 18:11:03 +00:00
a9d5289d3c
Back out aix makefile patch.
2000-11-06 18:06:58 +00:00
712c8bba84
Makefile.ports (copied from makefiles/Makefile.aix) is included before
...
the default target in GNUmakefile is reached. This patch calls that
default target.
Pete Forman
2000-11-06 17:07:43 +00:00
d9ef7e9ec7
Add support for AT TIME ZONE syntax.
2000-11-06 16:05:25 +00:00
07272c6f8b
Add tests for more INTERVAL syntax.
...
Add more tests for JOIN syntax.
All tests pass on my Linux box (except for the usual couple of lines
for geometry).
2000-11-06 16:03:47 +00:00
8e8fc32bec
Add functions to support AT TIME ZONE syntax.
...
Update catalog version to today.
2000-11-06 15:58:46 +00:00
2cf1642461
Fix INTERVAL output when year/month has different sign as day/hour etc.
...
Previously, all fields were unsigned, with only a trailing "ago" to
indicate negative intervals. Now, ISO format does not use "ago", and
and the traditional PostgreSQL format has the first numeric field unsigned
with "ago" supporting that field. So "1 month - 2 days ago" is two days
less than a month in the past.
Fix interval arithmetic across daylight savings time boundaries.
Previously, most math across boundaries introduced a one hour offset.
Allow some date/time functions to return NULL if called with NULL args.
Implement functions for AT TIME ZONE support.
Support "SAT" as an Australian time zone if USE_AUSTRALIAN_RULES
is defined.
2000-11-06 15:57:00 +00:00
df9462ac05
Implement AT TIME ZONE SQL9x syntax.
...
AT is now a keyword but is not a reserved word.
2000-11-06 15:47:17 +00:00
155e0b998a
Allow type resolution for UNKNOWN arguments to functions to fall back to
...
any available string type. Previously, all candidate choices must have
fallen within the same "type category" for PostgreSQL to be willing to
choose any of them.
Need to apply the same fixup to operator type resolution.
2000-11-06 15:42:30 +00:00
f0e37a8531
New CHECKPOINT command.
...
Auto removing of offline log files and creating new file
at checkpoint time.
2000-11-05 22:50:21 +00:00
7267fdd7a3
Add some configure checks for DocBook and related tools. With a somewhat
...
standard installation layout it should be possible to build the HTML
and print documentation without additional manual setup.
2000-11-05 21:04:07 +00:00
dd03129b9f
UNION select in a CREATE RULE caused a weird error, because transformRuleStmt
...
got confused by 'dummy' targetlist built for the UNION's toplevel query.
Fix by making dummy targetlist a little less cheesy.
2000-11-05 01:42:07 +00:00
11f7b29054
Allow ORDER BY, LIMIT in sub-selects. Fix most (not all) cases where
...
the grammar did not allow redundant parentheses around sub-selects.
Distinguish LIMIT ALL from LIMIT 0; make the latter behave as one would
expect.
2000-11-05 00:15:54 +00:00
4b71943bb2
Make PROCEDURAL optional in CREATE/DROP LANGUAGE.
2000-11-04 21:04:56 +00:00
90c63942c4
This patch should allow primary/foreign key
...
definitions using inherited columns in the
create table statement.
Stephan Szabo
2000-11-04 18:29:09 +00:00
b61f681f23
Remove .SECONDARY: target again, because GNU make 3.78.1 will get mighty
...
confused in src/interfaces/libpq for some reason. Seemingly, different
GNU make versions have several mutually conflicting problems with implicit
rule chains. Words are not sufficient...
2000-11-04 16:39:02 +00:00
c7a794998a
Separate CFLAGS_SL and CXXFLAGS_SL, to allow building with C and C++
...
compilers from different providers. (Especially important since the
C++ compiler that goes with your favourite C compiler might not work.)
2000-11-04 16:35:55 +00:00
1fdf2edc9d
Put -Ae into CC not CFLAGS, since it's not optional.
2000-11-04 14:34:54 +00:00
4aa1aabd7a
This is no longer used since we have the 'resultmap'.
2000-11-04 13:37:39 +00:00
1f2f53c648
Since the backend now handles relative PGDATA, initdb doesn't have to work
...
around anymore.
2000-11-04 12:47:48 +00:00
abfb417574
Make the backend grok relative paths for the data directory by converting
...
it to an absolute path.
2000-11-04 12:43:24 +00:00
6862a05364
Fix for missing EUC_TW encoding
2000-11-04 02:27:56 +00:00
7301660048
outdated and obsolete
2000-11-03 20:38:42 +00:00
a18490b73d
Add global .SECONDARY: target to not allow make to delete intermediate
...
target files in implicit rule chains. That might have been a cool idea
but it seems to be too buggy to work, as it caused spurious recompiles in
several places.
2000-11-03 20:27:40 +00:00
6be6a185d9
Minor code cleanups, make in_group() check faster.
2000-11-03 19:02:18 +00:00
aceec9ae1a
Fix bug reported by bobson: aclinsert3 would delete the 'world' entry
...
from an ACL list if it had no permissions remaining, which confused
aclcheck terribly. Also clean up code a little.
2000-11-03 19:01:36 +00:00
dfda21e7a6
Add configure check to see whether <string.h> and <strings.h> may both be
...
included, and then include <strings.h> if so. Several systems already
needed <strings.h> anyway. Some new systems that claim to conform to the
Unix 9x "standard" do not declare str[n]casemp() in string.h, and C99
compilers will not like that.
2000-11-03 18:43:52 +00:00
b98ba2a04c
pg_variable is not used in WAL version now.
2000-11-03 11:39:36 +00:00
b703c127ed
Parser sync.
2000-11-03 10:47:54 +00:00
94d8bbe5fb
Improve inv_getsize() per suggestion from Denis Perchine; also fix
...
thinkos in inv_seek().
2000-11-02 23:52:06 +00:00
db263da468
Peter forgot to fix {operator} rule to match modified definition of
...
'self' characters.
2000-11-02 23:20:27 +00:00
7a64100164
Fix insufficiently-parenthesized macro definitions.
...
No known bug here, but...
2000-11-02 23:11:03 +00:00
b7f4c64202
Add pg_dumpall --accounts-only option.
2000-11-02 21:13:32 +00:00
26c825e4b0
Allow initdb to handle relative paths for PGDATA, by converting them to
...
absolute before starting a backend.
2000-11-02 19:48:39 +00:00
bc9b199c26
Change bool to boolean in docs.
2000-11-02 19:26:49 +00:00
54121b9a8b
Pass on all CPPFLAGS that look like -I* to the PL/Perl build.
...
(This previously worked, but must have gotten lost somewhere...)
2000-11-02 18:40:13 +00:00
d1bfa6c72e
Add runtime configuration options to control permission bits and group
...
owner of unix socket.
2000-11-01 21:14:03 +00:00
855ffa0be0
Forgot to check page LSN and unlock buffer in btree_xlog_delete - fixed.
...
(Thanks to Tatsuo Ishii for finding bug)
2000-11-01 20:39:58 +00:00