- 25 8月, 1998 1 次提交
-
-
由 Thomas G. Lockhart 提交于
is_sequence in the ColumnDef structure.
-
- 24 8月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
if MULTIBYTE is not enabled. So be sure to run initdb. o these patches are made against the latest source tree (after Bruce's massive patch, I think) BTW, I noticed that after running regression, the oid field of pg_type seems disappeared. regression=> select oid from pg_type; ERROR: attribute 'oid' not found this happens after the constraints test. This occures with/without my patches. strange... o pg_database_mb.h, pg_class_mb.h, pg_attribute_mb.h are no longer used, and shoud be removed. o GetDatabaseInfo() in utils/misc/database.c removed (actually in #ifdef 0). seems nobody uses. t-ishii@sra.co.jp
-
- 18 8月, 1998 2 次提交
-
-
由 Marc G. Fournier 提交于
From: Jan Wieck <jwieck@debis.com> Hi, as proposed here comes the first patch for the query rewrite system. <for details, see archive dated Mon, 17 Aug 1998>
-
由 Thomas G. Lockhart 提交于
in constraint clauses. IN and NOT IN only allow constaints, not subselects. Jose' Soares' new reference docs pointed out the discrepency. Updating the docs too...
-
- 05 8月, 1998 2 次提交
-
-
由 Marc G. Fournier 提交于
From: David Hartwig <daybee@bellatlantic.net> I have attached a patch to allow GROUP BY and/or ORDER BY function or expressions. Note worthy items: 1. The expression or function need not be in the target list. Example: SELECT name FROM foo GROUP BY lower(name); 2. Simplified the grammar to use expressions only. 3. Cleaned up earlier patch in this area to make use of existing utility functions. 3. Reduced some of the members in the SortGroupBy parse node. The original data members were redundant with the new expression node. (MUST do a "make clean" now) 4. Added a new parse node "JoinUsing". The JOIN USING clause was overloading this SortGroupBy structure. With the afore mentioned reduction of members, the two clauses lost all their commonality. 5. A bug still exist where, if a function or expression is GROUPed BY, and an aggregate function does not include a attribute from the expression or function, the backend crashes. (or something like that) The bug pre-dates this patch. Example: SELECT lower(a) AS lowcase, count(b) FROM foo GROUP BY lowcase; *** BOOM *** --Also when not in target list SELECT count(b) FROM foo GROUP BY lower(a); *** BOOM AGAIN ***
-
由 Bruce Momjian 提交于
-
- 26 7月, 1998 2 次提交
-
-
由 Marc G. Fournier 提交于
From: t-ishii@sra.co.jp As Bruce mentioned, this is due to the conflict among changes we made. Included patches should fix the problem(I changed all MB to MULTIBYTE). Please let me know if you have further problem. P.S. I did not include pathces to configure and gram.c to save the file size(configure.in and gram.y modified).
-
由 Bruce Momjian 提交于
statements. More cleanups of psql help. Fix for shift/reduce on UNION in subselect.
-
- 25 7月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 24 7月, 1998 1 次提交
-
-
由 Marc G. Fournier 提交于
I really hope that I haven't missed anything in this one... From: t-ishii@sra.co.jp Attached are patches to enhance the multi-byte support. (patches are against 7/18 snapshot) * determine encoding at initdb/createdb rather than compile time Now initdb/createdb has an option to specify the encoding. Also, I modified the syntax of CREATE DATABASE to accept encoding option. See README.mb for more details. For this purpose I have added new column "encoding" to pg_database. Also pg_attribute and pg_class are changed to catch up the modification to pg_database. Actually I haved added pg_database_mb.h, pg_attribute_mb.h and pg_class_mb.h. These are used only when MB is enabled. The reason having separate files is I couldn't find a way to use ifdef or whatever in those files. I have to admit it looks ugly. No way. * support for PGCLIENTENCODING when issuing COPY command commands/copy.c modified. * support for SQL92 syntax "SET NAMES" See gram.y. * support for LATIN2-5 * add UNICODE regression test case * new test suite for MB New directory test/mb added. * clean up source files Basic idea is to have MB's own subdirectory for easier maintenance. These are include/mb and backend/utils/mb.
-
- 19 7月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
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 7月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 08 7月, 1998 1 次提交
-
-
由 Thomas G. Lockhart 提交于
Used in the generic "CREATE xxx" parsing. Do some automatic type conversion for inserts from other columns. Previous trouble with "resjunk" regression test remains for now.
-
- 10 5月, 1998 1 次提交
-
-
由 Thomas G. Lockhart 提交于
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. Make "char" type a synonum for "char(1)" (actually implemented as bpchar). Compress/compact row-style subselect and operator definitions (cut out ~140 lines of code with no change in functionality). Save string type if specified for DEFAULT clause handling. Enough for now...
-
- 17 4月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 14 4月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 08 4月, 1998 1 次提交
-
-
由 Thomas G. Lockhart 提交于
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.
-
- 31 3月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
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
-
- 19 3月, 1998 1 次提交
-
-
由 Thomas G. Lockhart 提交于
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.
-
- 07 3月, 1998 1 次提交
-
-
由 Thomas G. Lockhart 提交于
Was ignoring second wildcard.
-
- 25 2月, 1998 1 次提交
-
-
由 Marc G. Fournier 提交于
seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
-
- 18 2月, 1998 2 次提交
-
-
由 Thomas G. Lockhart 提交于
Allow USER and VALID as column names and identifiers.
-
由 Vadim B. Mikheev 提交于
-
- 13 2月, 1998 1 次提交
-
-
由 Vadim B. Mikheev 提交于
parse_expr.c: only Op of bool type are supported currently...
-
- 11 2月, 1998 2 次提交
-
-
由 Thomas G. Lockhart 提交于
-
由 Thomas G. Lockhart 提交于
Use explicit tokens to decode CREATE TRIGGER clauses. Allow ROW and STATEMENT as column identifiers. Fix CAST syntax to require parens per SQL92 spec. Define TypeId to allow correct translation of type names in CREATE FUNCTION and other statements. Need to do this without looking up defined type names because CREATE FUNCTION can specify undefined (new) types. Define UserId to complete removal of "Id" generic entity. Define xlateSqlFunc() to convert SQL92 CHARACTER_LENGTH() and CHAR_LENGTH() functions to calls to length(). Define func_name parser entity for contexts requiring a function name. Have xlateSqlType() translate "float" to "float8".
-
- 10 2月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 04 2月, 1998 3 次提交
-
-
由 Thomas G. Lockhart 提交于
surrounded by parentheses (but not all are meaningful). Remove unused keywords ACL, APPEND, MERGE. Requires a "make clean" to recompile all code since keyword numeric assignments have changed with keyword removal.
-
由 Bruce Momjian 提交于
Cleanup for vacuum help, manual page, and error message
-
由 Thomas G. Lockhart 提交于
-
- 03 2月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 02 2月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
related to grammar and parser issues, with one postmaster fix.
-
- 25 1月, 1998 3 次提交
-
-
由 Marc G. Fournier 提交于
-
由 Marc G. Fournier 提交于
free() From: James Hughes <jamesh@interpath.com>
-
由 Marc G. Fournier 提交于
revoke statements. From: James Hughes <jamesh@interpath.com>
-
- 23 1月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 20 1月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
Add lock to i386 asm.
-
- 19 1月, 1998 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 17 1月, 1998 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
with supporting code. Creates SubLink node in gram.y. psql.c patch for newatttypmod field.
-