| Age | Commit message (Collapse) | Author |
|
Two incorrect printf formats in parser/parse_type.c. Prolly done
by me a long time ago when I cleaned up int's and Oid's...
Format flag is really just %u, not %ud. Harmless, but results in
"type id lookup of 25d failed" instead of only "...25 failed"
|
|
'=' and '<>'.
|
|
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.
|
|
|
|
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.
|
|
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;
|
|
them from scratch. gram.y has now grown so that some non-bison yaccs
(including FreeBSDs) run out of room and quit.
|
|
The parser recently grew too big for some yaccs, including FreeBSD.
|
|
Allow USER and VALID as column names and identifiers.
|
|
minus. Example is SELECT f1-2 FROM INT4_TBL;
|
|
|
|
|
|
parse_expr.c: only Op of bool type are supported currently...
|
|
Apart from this Makefile hack, all I've done is to make dynamically
loaded code modules fail properly (as was already done for __mips__,
although I think this is too loose: I believe NetBSD for the pmax can
do dynamic linking), and to add test-and-set lock handling. As Bruce
suggested, this is done in a maximally efficient inlined way: I was
not aware that this code was so important, speed-wise.
|
|
|
|
|
|
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".
|
|
Throw elog(NOTICE) to flag promotion.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
output at least doesn't appear that its missing something.
wasn't particularly confident with removing 'caller' altogether :(
|
|
"more info then user requires"
|
|
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.
|
|
Cleanup for vacuum help, manual page, and error message
|
|
|
|
|
|
|
|
configure vs port specific #ifdef's...
|
|
|
|
related to grammar and parser issues, with one postmaster fix.
|
|
(void) change for aix and hp compilers.
protocol cleanup.
|
|
Cleanup patches for previous protocol changes patch
|
|
|
|
free()
From: James Hughes <jamesh@interpath.com>
|
|
revoke statements.
From: James Hughes <jamesh@interpath.com>
|
|
|
|
|
|
|
|
|
|
Add lock to i386 asm.
|
|
|
|
|
|
|
|
|
|
with supporting code.
Creates SubLink node in gram.y.
psql.c patch for newatttypmod field.
|
|
varchar length.
Cleans up code so attlen is always length.
Removed varchar() hack added earlier.
Will fix bug in selecting varchar() fields, and varchar() can be
variable length.
|