1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-23 14:01:44 +03:00
Commit Graph

3223 Commits

Author SHA1 Message Date
0b4620b575 Quick cleanups 1998-02-23 18:43:13 +00:00
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
9324d5cbe3 Remove libpq README. 1998-02-23 16:51:14 +00:00
0daa8c3745 A few misc fixes brought up by Andrew 1998-02-23 15:44:25 +00:00
11303a941f Second query in select_views.sql is replaced. 1998-02-23 13:59:34 +00:00
3ae4edb245 Fix relation path constraction in mdblindwrt(). 1998-02-23 13:58:04 +00:00
d036a699dc Remind people of view permissions, and install libpq README. 1998-02-23 13:10:53 +00:00
f0e7e2faa4 ExecReScan for Unique & Sort nodes. 1998-02-23 06:28:16 +00:00
e4fd534645 Partial fix for select distinct in subselect. 1998-02-23 02:54:11 +00:00
55f86ec8f7 Configure patches from Brook Milligan. 1998-02-22 20:02:34 +00:00
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
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
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
ec9e44ab7c Add handling for new RangeTblEntry column name. 1998-02-21 18:17:58 +00:00
856da1e65a Constlen can be -1, so make it a signed type. 1998-02-21 16:58:49 +00:00
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
734328840c 1.7.01.7.0 1998-02-20 21:26:08 +00:00
30b9b529f3 1.7.0 1998-02-20 21:25:47 +00:00
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
373b85329d Missign a comma...
From: AA van Raalte <alvin@camberlo.demon.co.uk>
1998-02-20 13:11:26 +00:00
b76e437465 *** empty log message *** 1998-02-20 13:10:03 +00:00
34dddd51fd From: Michael Meskes <meskes@topsystem.de>
Subject: [PATCHES] one small fix for ecpg
1998-02-20 13:02:14 +00:00
c6b62a429a Update bugs section of ecpg... 1998-02-20 02:07:25 +00:00
7f4edbfade Okay, revert back to non-REVOKED...happy now? :) 1998-02-20 01:44:18 +00:00
86af6275a7 From: Andreas.Zeugswetter@telecom.at
Improved fix to pg_user/passwd problem...using rewrite rules
1998-02-19 17:25:58 +00:00
df67b83a7a Password fix. Now people have to do the REVOKE themselves. 1998-02-19 17:20:01 +00:00
70ddf2dfc2 oops, missed one... 1998-02-19 17:08:57 +00:00
e53b5269ca Makefile required some cleaning up for install and make 1998-02-19 17:08:22 +00:00
24549df4bf Don't make shared libraries for i386_solaris yet...it doesn't work 1998-02-19 17:02:25 +00:00
ef12012e5b Updated from 0.61->0.76 1998-02-19 16:43:54 +00:00
9540d9786e FIFO lock wait queue, with readers grouped together. 1998-02-19 15:04:45 +00:00
9a55013403 Various minor modes for i386_solaris 1998-02-19 14:27:33 +00:00
9a4d023bb5 Check for <netinet/in.h>, required by DG/ux 1998-02-19 13:59:16 +00:00
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
ed875a4132 Fix for InitPlan-s: have to copy subselect' result tuple. 1998-02-19 04:47:07 +00:00
015593fd00 Already moved to the appropriate documentation directories 1998-02-19 01:44:18 +00:00
fe521fbe76 Update FAQ's for release. 1998-02-18 15:56:06 +00:00
2ed7b03c46 Fix -t for pg_dump when table is uppercase. 1998-02-18 15:33:37 +00:00
e0aab4aa9e Restore 6.2.1 output 1998-02-18 13:15:07 +00:00
9d557f83d4 GroupState changed. 1998-02-18 12:41:36 +00:00
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
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
ca45412853 Add new subselect test. 1998-02-18 07:32:17 +00:00
ca38b10c00 New table from new subselect test. 1998-02-18 07:29:45 +00:00
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
64ebb583bc Allow LIKE expression in constraint clause.
Allow USER and VALID as column names and identifiers.
1998-02-18 07:25:57 +00:00
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
6c1abf0d3c Fix from Vadim for simple-minded case SELECT 1 WHERE 1 IN (SELECT 1)
used in regression tests. No longer core dumps.
1998-02-18 07:19:34 +00:00
1aa93cbfa6 Remove inclusion of the doc make. Looks like all of the man pages are
in the usual man page source directory anyway. Source tree now builds.
1998-02-18 07:16:58 +00:00
38004ce57b Cancel last version which introduced unintended flags
for linux-alpha support.
1998-02-18 07:15:23 +00:00