Marc G. Fournier
3ad3fcc702
Document ACL_RD -> ACL_NO change on default table creation
1998-02-23 20:15:23 +00:00
Marc G. Fournier
29230ca8fc
Note that table permissions are no longer defaulted to ACL_RD, but ACL_NO
...
instead
1998-02-23 19:53:08 +00:00
Marc G. Fournier
ab6e4ea3dc
Modify initdb.sh so that it makes pg_user readable through view db_user
...
Modify psql so that it uses db_user instead of pg_user
GRANT SELECT on pg_class
1998-02-23 19:26:36 +00:00
Marc G. Fournier
0b4620b575
Quick cleanups
1998-02-23 18:43:13 +00:00
Marc G. Fournier
6c7c6d0c05
From: Jan Wieck <jwieck@debis.com>
...
The diff looks so simple and easy. But to find it wasn't fun.
It must have been there for a long time. What happened:
When a tuple in one of some central catalogs was updated, the
referenced relation got flushed, so it would be reopened on
the next access (to reflect new triggers, rules and table
structure changes into the relation cache).
Some data (the tupleDescriptor e.g.) is used in the system
cache too. So when a relation is subject to the system cache,
this must know too that a cached system relation got flushed
because the tupleDesc data gets freed during the flush!
For the GRANT/REVOKE on pg_class it was slightly different.
There is some local data in inval.c that gets initialized on
the first invalidation of a tuple in some central catalogs.
This needs a SysCache lookup in pg_class. But when the first
of all commands is a GRANT on pg_class, exactly the needed
tuple is the one actually invalidated. So I added little code
snippets that the initialization of the local variables in
inval.c will already happen during InitPostgres().
1998-02-23 17:44:24 +00:00
Bruce Momjian
9324d5cbe3
Remove libpq README.
1998-02-23 16:51:14 +00:00
Marc G. Fournier
0daa8c3745
A few misc fixes brought up by Andrew
1998-02-23 15:44:25 +00:00
Vadim B. Mikheev
11303a941f
Second query in select_views.sql is replaced.
1998-02-23 13:59:34 +00:00
Vadim B. Mikheev
3ae4edb245
Fix relation path constraction in mdblindwrt().
1998-02-23 13:58:04 +00:00
Bruce Momjian
d036a699dc
Remind people of view permissions, and install libpq README.
1998-02-23 13:10:53 +00:00
Vadim B. Mikheev
f0e7e2faa4
ExecReScan for Unique & Sort nodes.
1998-02-23 06:28:16 +00:00
Bruce Momjian
e4fd534645
Partial fix for select distinct in subselect.
1998-02-23 02:54:11 +00:00
Bruce Momjian
55f86ec8f7
Configure patches from Brook Milligan.
1998-02-22 20:02:34 +00:00
Marc G. Fournier
a35a681f97
The getColumns() method in DataBaseMetaData.java returns a column size
...
of -1 for varchar's.
From: CNT systemen BV <cntsys@cistron.nl>
1998-02-22 18:03:26 +00:00
Marc G. Fournier
0e1a352f09
From: Darren King <darrenk@insightdist.com>
...
Enclosed is the regression.diffs file from running the Feb 21st
snapshot regression tests for inclusion in src/test/regression
as regression.Aix41. Appears to be standard differences to me,
error messages, fp accuracy and times off by an hour due to PST
vs PDT.
1998-02-22 00:02:18 +00:00
Marc G. Fournier
aa7244ed01
Change:
...
#define TAPETEMP "pg_btsortXXXXXX"
to:
#define TAPETEMP "pg_btsortXXXXXXX"
For some reason, under FreeBSD, it appears that the mktemp() value needs the
extra 'X' to improve/ensure uniqueness
1998-02-21 19:23:14 +00:00
Bruce Momjian
ec9e44ab7c
Add handling for new RangeTblEntry column name.
1998-02-21 18:17:58 +00:00
Bruce Momjian
856da1e65a
Constlen can be -1, so make it a signed type.
1998-02-21 16:58:49 +00:00
Marc G. Fournier
7b30490bc9
First step done,
...
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;
1998-02-21 06:32:15 +00:00
Edmund Mergl
734328840c
1.7.01.7.0
1998-02-20 21:26:08 +00:00
Edmund Mergl
30b9b529f3
1.7.0
1998-02-20 21:25:47 +00:00
Marc G. Fournier
b34841d511
From: Michael Meskes <meskes@topsystem.de>
...
Please remove src/interfaces/ecpg/prproc/y.tab.h from cvs. It is generated
by make anyway.
1998-02-20 14:28:56 +00:00
Marc G. Fournier
373b85329d
Missign a comma...
...
From: AA van Raalte <alvin@camberlo.demon.co.uk>
1998-02-20 13:11:26 +00:00
Marc G. Fournier
b76e437465
*** empty log message ***
1998-02-20 13:10:03 +00:00
Marc G. Fournier
34dddd51fd
From: Michael Meskes <meskes@topsystem.de>
...
Subject: [PATCHES] one small fix for ecpg
1998-02-20 13:02:14 +00:00
Marc G. Fournier
c6b62a429a
Update bugs section of ecpg...
1998-02-20 02:07:25 +00:00
Marc G. Fournier
7f4edbfade
Okay, revert back to non-REVOKED...happy now? :)
1998-02-20 01:44:18 +00:00
Marc G. Fournier
86af6275a7
From: Andreas.Zeugswetter@telecom.at
...
Improved fix to pg_user/passwd problem...using rewrite rules
1998-02-19 17:25:58 +00:00
Bruce Momjian
df67b83a7a
Password fix. Now people have to do the REVOKE themselves.
1998-02-19 17:20:01 +00:00
Marc G. Fournier
70ddf2dfc2
oops, missed one...
1998-02-19 17:08:57 +00:00
Marc G. Fournier
e53b5269ca
Makefile required some cleaning up for install and make
1998-02-19 17:08:22 +00:00
Marc G. Fournier
24549df4bf
Don't make shared libraries for i386_solaris yet...it doesn't work
1998-02-19 17:02:25 +00:00
Marc G. Fournier
ef12012e5b
Updated from 0.61->0.76
1998-02-19 16:43:54 +00:00
Bruce Momjian
9540d9786e
FIFO lock wait queue, with readers grouped together.
1998-02-19 15:04:45 +00:00
Marc G. Fournier
9a55013403
Various minor modes for i386_solaris
1998-02-19 14:27:33 +00:00
Marc G. Fournier
9a4d023bb5
Check for <netinet/in.h>, required by DG/ux
1998-02-19 13:59:16 +00:00
Marc G. Fournier
1d6424b1fb
From: Michael Meskes <meskes@topsystem.de>
...
Here's my next patch. this one should fix some more bugs. ecpg now fully
understands the whenever statement.
1998-02-19 13:52:17 +00:00
Vadim B. Mikheev
ed875a4132
Fix for InitPlan-s: have to copy subselect' result tuple.
1998-02-19 04:47:07 +00:00
Marc G. Fournier
015593fd00
Already moved to the appropriate documentation directories
1998-02-19 01:44:18 +00:00
Bruce Momjian
fe521fbe76
Update FAQ's for release.
1998-02-18 15:56:06 +00:00
Bruce Momjian
2ed7b03c46
Fix -t for pg_dump when table is uppercase.
1998-02-18 15:33:37 +00:00
Vadim B. Mikheev
e0aab4aa9e
Restore 6.2.1 output
1998-02-18 13:15:07 +00:00
Vadim B. Mikheev
9d557f83d4
GroupState changed.
1998-02-18 12:41:36 +00:00
Vadim B. Mikheev
b1b246ab40
New nodeGroup.c code uses own copy of first tuple in a group.
...
Free memory after comparison in nodeUnique.c
1998-02-18 12:40:44 +00:00
Thomas G. Lockhart
3d18ca70a7
Start shipping gram.y products gram.c and parse.h to avoid having to build
...
them from scratch. gram.y has now grown so that some non-bison yaccs
(including FreeBSDs) run out of room and quit.
1998-02-18 07:37:05 +00:00
Thomas G. Lockhart
ca45412853
Add new subselect test.
1998-02-18 07:32:17 +00:00
Thomas G. Lockhart
ca38b10c00
New table from new subselect test.
1998-02-18 07:29:45 +00:00
Thomas G. Lockhart
8a9fbcc9c3
Include products of gram.y to allow systems without bison to build Postgres.
...
The parser recently grew too big for some yaccs, including FreeBSD.
1998-02-18 07:28:08 +00:00
Thomas G. Lockhart
64ebb583bc
Allow LIKE expression in constraint clause.
...
Allow USER and VALID as column names and identifiers.
1998-02-18 07:25:57 +00:00
Thomas G. Lockhart
5ac4dcaa19
Fix parsing for <identifier>-<number> which was mis-identified as a unary
...
minus. Example is SELECT f1-2 FROM INT4_TBL;
1998-02-18 07:23:22 +00:00