1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-22 02:52:08 +03:00
Commit Graph

31631 Commits

Author SHA1 Message Date
0227a4e114 From: "Denis V. Dmitrienko" <denis@null.net>
What it does:
It solves stupid problem with cyrillic charsets IP-based on-fly recoding.
take a look at /data/charset.conf for details.
You can use any tables for any charset.
Tables are from Russian Apache project.
Tables in this patch contains also Ukrainian characters.

Then run ./configure --enable-recode
1998-02-24 15:27:04 +00:00
96316211c3 From: t-ishii@sra.co.jp
Ok. I have decided to use:

#if defined(sun) && if defined(sparc) && !defined(__svr4)

instead of defined(sunos4).  interfaces/libpq/libpq-fe.h and
include/c.h have been modified(see included patches).

Another porblems I have found are:

o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD
and place it under backend/port. necessary modifications have been
also made to backend/port/Makefile.in, include/config.h.in and
configure.in (see included patches).
1998-02-24 06:04:55 +00:00
712e77e3df Various fixes for string.h vs strings.h
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 04:02:20 +00:00
18e1f0331b Remove #include "port-protos.h", since we no longer use it
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 03:47:26 +00:00
e479802747 There is no more 'port-protos.h', so don't try to include it
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 03:45:10 +00:00
88aa07c4e3 Forgot about the svr4 dynloader stuff
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 03:41:58 +00:00
5cf1964fc6 From: Jan Wieck <jwieck@debis.com>
So   if   the   relname   is   given   to   acldefault()   in
    utils/adt/acl.c, it can do a IsSystemRelationName() on it and
    return ACL_RD instead of ACL_WORLD_DEFAULT.
1998-02-24 03:31:50 +00:00
751ebd20a0 Various fixes for ecpg to remove compiler dependency...
From: Darren King <darrenk@insightdist.com>
1998-02-24 03:23:52 +00:00
906d5cc051 Slight change to GUESS for finding the right entry in .similar 1998-02-24 03:16:52 +00:00
7549bb66c2 Add an '#include <sys/types.h>' for the netinet/in.h section 1998-02-24 03:12:55 +00:00
9fdb501293 Install spi.h and trigger.in 1998-02-24 03:09:47 +00:00
04e3fd770d Create a RULE wrapper around pg_user for the password entry 1998-02-23 20:32:40 +00:00
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
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