- 01 Aug, 1998 1 commit
-
-
Marc G. Fournier authored
Adrian Hall reported a problem to me that snprintf() doesn't exist in, at least, Solaris 2.5.1. We use it in backend/utils/adt/int8.c. Add a check to configure so that we see if it exists or not, and, if not, compile in snprintf.c from backend/port, which was taken from, and falls under the same Berkeley license as us, the FreeBSD libc/stdio ...
-
- 26 Jul, 1998 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
statements. More cleanups of psql help. Fix for shift/reduce on UNION in subselect.
-
- 20 Jul, 1998 1 commit
-
-
Bruce Momjian authored
-
- 19 Jul, 1998 1 commit
-
-
Bruce Momjian authored
now. Here some tested features, (examples included in the patch): 1.1) Subselects in the having clause 1.2) Double nested subselects 1.3) Subselects used in the where clause and in the having clause simultaneously 1.4) Union Selects using having 1.5) Indexes on the base relations are used correctly 1.6) Unallowed Queries are prevented (e.g. qualifications in the having clause that belong to the where clause) 1.7) Insert into as select 2) Queries using the having clause on view relations also work but there are some restrictions: 2.1) Create View as Select ... Having ...; using base tables in the select 2.1.1) The Query rewrite system: 2.1.2) Why are only simple queries allowed against a view from 2.1) ? 2.2) Select ... from testview1, testview2, ... having...; 3) Bug in ExecMergeJoin ?? Regards Stefan
-
- 15 Jul, 1998 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 12 Jul, 1998 1 commit
-
-
Bruce Momjian authored
-
- 15 Jun, 1998 1 commit
-
-
Bruce Momjian authored
-
- 13 Jun, 1998 1 commit
-
-
Bruce Momjian authored
have > 20000 users and each (potentially) needs a separate database which is > only accessible to them. Rather than having 20000 lines in pg_hba.conf, > I've patched Postgres so that the special token "sameuser" in the > database field of pg_hba.conf allows access only to the username which > is connecting.
-
- 12 May, 1998 1 commit
-
-
Bruce Momjian authored
compiling nbtsearch.c after configuring with --enable-cassert. Patch below. -- --------------------------------------------- Göran Thyni, sysadm, JMS Bildbasen, Kiruna
-
- 09 May, 1998 1 commit
-
-
Thomas G. Lockhart authored
Check for and properly ignore FOREIGN KEY column constraints (already had fixed same for table constraints). Define USER as synonym for CURRENT_USER per SQL92 specs (no longer allowed as bare column name, sorry). Re-enable HAVING clause but no fixes elsewhere yet. Other stuff from today's update of gram.y...
-
- 04 May, 1998 1 commit
-
-
Bruce Momjian authored
confused.
-
- 17 Apr, 1998 1 commit
-
-
Marc G. Fournier authored
gram.c updated scan.c updated ecpg/Makefile added LDFLAGS configure requires sfio for those systems with it installed...
-
- 14 Apr, 1998 1 commit
-
-
Bruce Momjian authored
-
- 08 Apr, 1998 1 commit
-
-
Thomas G. Lockhart authored
and TIMEZONE_MINUTE but don't introduce until v6.4. Fix SET TIMEZONE LOCAL to pass null pointer rather than older "default" string. Fix handling of NULL pointer returns from FOREIGN KEY clauses which are currently ignored. Allow START as a table/column name.
-
- 30 Mar, 1998 1 commit
-
-
Bruce Momjian authored
sequential scans! (I think it will also work with hash, index, etc but I did not check it out! I made some High level changes which should work for all access methods, but maybe I'm wrong. Please let me know.) Now it is possible to make queries like: select s.sname, max(p.pid), min(p.pid) from part p, supplier s where s.sid=p.sid group by s.sname having max(pid)=6 and min(pid)=1 or avg(pid)=4; Having does not work yet for queries that contain a subselect statement in the Having clause, I'll try to fix this in the next days. If there are some bugs, please let me know, I'll start to read the mailinglists now! Now here is the patch against the original 6.3 version (no snapshot!!): Stefan
-
- 18 Mar, 1998 1 commit
-
-
Thomas G. Lockhart authored
Make "TABLE" optional in "LOCK TABLE" command and "... INTO TABLE..." clause. Explicitly parse CREATE SEQUENCE options to allow a negative integer as an argument; this is an artifact of unary minus handling in scan.l. Add "PASSWORD" as an allowed column identifier. These fixes will require a "make clean install" but not a dump/reload.
-
- 27 Feb, 1998 1 commit
-
-
Marc G. Fournier authored
This patch will... 1. Remove the "-Wall" option from the ecpg/lib and ecpg/preproc Makefile. 2. Remove the addition of $(SRCDIR)/include and-or $(SRCDIR)/backend from ecpg/lib, ecpg/preproc, libpq and utils Makefiles. Already in CFLAGS... 3. Set MK_NO_LORDER and RANLIB in Makefile.aix to avoid a couple of extra steps taken care of by the 'ld' command anyways.
-
- 21 Feb, 1998 1 commit
-
-
Marc G. Fournier authored
below is the patch to have views to override the permission checks for the accessed tables. Now we can do the following: CREATE VIEW db_user AS SELECT usename, usesysid, usecreatedb, usetrace, usecatupd, '**********'::text as passwd, valuntil FROM pg_user; REVOKE ALL ON pg_user FROM public; REVOKE ALL ON db_user FROM public; GRANT SELECT ON db_user TO public;
-
- 18 Feb, 1998 1 commit
-
-
Thomas G. Lockhart authored
The parser recently grew too big for some yaccs, including FreeBSD.
-