Commit Graph

2893 Commits

Author SHA1 Message Date
Vadim B. Mikheev 20ef87171c Fix 6.X vacuum bug in shrinking code. 1998-02-25 23:40:32 +00:00
Marc G. Fournier 48a61651b5 Add updated regression output for Solaris-Sparc
Remove SunOS
1998-02-25 20:51:10 +00:00
Marc G. Fournier 3cff97d722 Commit Solaris-i386 regression.diffs file for comparisons 1998-02-25 15:06:47 +00:00
Marc G. Fournier f39bf166e9 Change from -u to -wC3 ... 1998-02-25 15:02:18 +00:00
Marc G. Fournier b5b3735f22 pg_user.h is obseleted in favor of pg_shadow.h 1998-02-25 14:54:44 +00:00
Marc G. Fournier 6132387d5a Make changes to psql so that it sees pg_user again instead of db_user 1998-02-25 14:50:36 +00:00
Marc G. Fournier 780068f812 From: Jan Wieck <jwieck@debis.com>
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.
1998-02-25 13:09:49 +00:00
Bruce Momjian d067f83b27 pgindent changes for Thomas proc/lock cleanup 1998-02-25 00:31:23 +00:00
Bruce Momjian 19ba229299 Fix for locking problems an dpriority. 1998-02-24 19:58:26 +00:00
Marc G. Fournier f0da7129f5 Change -c to -u for regress.sh...should shrink regression.<portname> somewhat
at the same time...

Suggested by: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 15:56:45 +00:00
Marc G. Fournier 4ce6f0826e Forgot to run autoconf after updatign configure.in for Cyrillic patch 1998-02-24 15:53:54 +00:00
Marc G. Fournier 80e12829cf + Sat Feb 21 19:10:55 CET 1998
+
+       - use char[] as string not as array of bytes that is integers
+
+ Sun Feb 22 16:37:36 CET 1998
+
+       - use long for all size variables
+       - added execute immediate statement
+
+ Sun Feb 22 20:41:32 CET 1998
+
+       - use varcharsize = 1 for all simple types, 0 means pointer, > 1
+         means array if type is char resp. unsigned char
+
+ Thu Feb 24 12:26:12 CET 1998
+
+       - allow 'go to' in whenever statement as well as 'goto'
+       - new argument 'stop' for whenever statement

From: Michael Meskes <meskes@topsystem.de>
1998-02-24 15:52:13 +00:00
Marc G. Fournier 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
Marc G. Fournier 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
Marc G. Fournier 712e77e3df Various fixes for string.h vs strings.h
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 04:02:20 +00:00
Marc G. Fournier 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
Marc G. Fournier 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
Marc G. Fournier 88aa07c4e3 Forgot about the svr4 dynloader stuff
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24 03:41:58 +00:00
Marc G. Fournier 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
Marc G. Fournier 751ebd20a0 Various fixes for ecpg to remove compiler dependency...
From: Darren King <darrenk@insightdist.com>
1998-02-24 03:23:52 +00:00
Marc G. Fournier 906d5cc051 Slight change to GUESS for finding the right entry in .similar 1998-02-24 03:16:52 +00:00
Marc G. Fournier 7549bb66c2 Add an '#include <sys/types.h>' for the netinet/in.h section 1998-02-24 03:12:55 +00:00
Marc G. Fournier 9fdb501293 Install spi.h and trigger.in 1998-02-24 03:09:47 +00:00
Marc G. Fournier 04e3fd770d Create a RULE wrapper around pg_user for the password entry 1998-02-23 20:32:40 +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
Thomas G. Lockhart 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
Thomas G. Lockhart 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
Thomas G. Lockhart 38004ce57b Cancel last version which introduced unintended flags
for linux-alpha support.
1998-02-18 07:15:23 +00:00
Vadim B. Mikheev 581166da91 Fix useor for (a,b...) Op ANY/ALL 1998-02-18 03:26:54 +00:00
Marc G. Fournier cdfac31335 I'm getting a SEGV error when testing ecpg using the perftest,or
any other, example program.

I have tracked this down to a call to PQfinish() in ECPGfinish()
that occurs before any connection is established.

From: Keith Parks <emkxp01@mtcc.demon.co.uk>
1998-02-18 01:30:42 +00:00
Marc G. Fournier 74e015916e Update the preprocessor code
From: Michael Meskes <meskes@topsystem.de>
1998-02-18 01:28:03 +00:00
Marc G. Fournier 922ea913b1 Check for and include <getopt.h> 1998-02-18 01:26:02 +00:00
Marc G. Fournier 6ab7e31efd Just another missing dummy file 1998-02-17 02:09:17 +00:00
Marc G. Fournier 203f6d93da 2. IRIX has both HAVE_FPCLASS and HAVE_FP_CLASS, therefore, in
backend/port/isinf.c it tries to compile two versions of
isinf().


From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
1998-02-17 02:00:12 +00:00
Marc G. Fournier 25ad1439e1 Major update of ecpg preprocessor
From: Michael Meskes <meskes@topsystem.de>
1998-02-17 01:48:12 +00:00
Marc G. Fournier 30f737f6b1 Totally forgot to add these files... 1998-02-17 01:43:04 +00:00
Marc G. Fournier 067cb82d6a The problem is that $ac_cv_prog_gcc is empty, instead of 'no' or
whatsoever. The patch is not a solution, because configure is generated
from configure.in, and I don't know how to patch it to get a working
'configure'.

From: "Pedro J. Lobo" <pjlobo@euitt.upm.es>
1998-02-17 01:32:37 +00:00
Marc G. Fournier ded3f3b3fc Remove all backend/port/${PORTNAME} references from template files, since
they don't exist anymore
1998-02-16 14:39:29 +00:00
Marc G. Fournier 527f8babc7 From: Brian E Gallew <geek+@cmu.edu>
dgux 5.4R4.11

Missing port-protos.h (not needed, I think).  Wants dld.h.  Should
really use the system dl stuff (like i386_solaris).  Needs to include
<netinet/in.h> before <arpa/inet.h>.  Here are some patches...
1998-02-14 19:56:21 +00:00
Marc G. Fournier d1891c6fb3 Apparently there was a
compiler define that should have been enabled, but was not due to
different naming conventions for Linux/Alpha. Attached is the patch he
sent me, that I have not had a chance to test yet.

From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
1998-02-14 18:06:20 +00:00
Marc G. Fournier dde2b66f44 Remove HBA related switch
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-02-14 18:02:43 +00:00
Marc G. Fournier aa0d3ec1be From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
The file 'backend/utils/adt/arrayfuncs.c' won't compile with the
February 14th snapshot, because of an inconsistency between the
declaration and implementation of ReadArrayStr().  As far as I can
tell, the predeclaration is wrong.  I assume this is what was meant:
1998-02-14 18:00:37 +00:00
Marc G. Fournier 9336b9b280 Man page for ecpg.1 1998-02-13 19:49:06 +00:00
Bruce Momjian edd3668895 Atttypmod cleanup. 1998-02-13 19:46:22 +00:00
Marc G. Fournier ce88b9b40b From: Jan Wieck <jwieck@debis.com>
just a little correction in the pltcl_guide.nr.

    Sometimes I changed the name of tuple arguments to numbers
    like the other args are. Otherwise it wasn't possible to
    create a function as

        CREATE FUNCTION f (EMP, EMP) ... LANGUAGE 'pltcl';

    The arguments are now accessed in the function as

        $1(name) vs. $2(name)
1998-02-13 17:18:25 +00:00
Marc G. Fournier 2a07e65dcd From: Zeugswetter Andreas SARZ <Andreas.Zeugswetter@telecom.at>
Only occurrs in
src/include/storage/s_lock.h:#if defined(__AIX)
src/include/utils/dt.h:#if defined(__AIX)
src/include/utils/nabstime.h:#if defined(__AIX)

Simply delete one underscore, only occurs once per file, so no patch.
1998-02-13 17:12:08 +00:00
Marc G. Fournier a04dcc9137 From: Jan Wieck <jwieck@debis.com>
Someone changed the parser to build a TypeName node on CREATE
    FUNCTION in any  case.  As  a  side  effect,  ALL!  functions
    created  got  the  proretset  attribute  to  true. Thus for a
    SELECT the parser wrapped an Iter node around  the  Expr  and
    since  singleton  functions  set  isDone  the Iter returns no
    tuple up.
1998-02-13 13:23:33 +00:00
Marc G. Fournier b6d5fce951 Add missing extern.h file 1998-02-13 13:15:23 +00:00
Marc G. Fournier b7c0d48423 Makefile.in needs to be configured to use PORTNAME variable 1998-02-13 13:15:12 +00:00
Marc G. Fournier 084e66a077 Remove interfaces/ecpg/{include,preproc}/Makefile.in from configure 1998-02-13 13:14:41 +00:00
Vadim B. Mikheev 6eeb3d9eac gram.y: ALL_SUBLINK type was returned for x Op (subquery).
parse_expr.c: only Op of bool type are supported currently...
1998-02-13 08:10:33 +00:00
Marc G. Fournier 64e7adb07b From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
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.
1998-02-13 05:10:06 +00:00
Marc G. Fournier e3f2224664 Remove -m486 option, since it is platform specific...this should technically
be removed everywhere, but so far linux-elf is the only platform that is
being reported a problem with...
1998-02-13 04:57:23 +00:00
Vadim B. Mikheev 5d7923dd1c Subselects... 1998-02-13 03:46:56 +00:00
Vadim B. Mikheev 6fcf2d7cb3 New SubPlan node for subselects.
New PARAM_EXEC type.
1998-02-13 03:45:29 +00:00
Vadim B. Mikheev eab1471b2b EState->->es_param_exec_vals = NULL; in CreateExecutorState(). 1998-02-13 03:42:32 +00:00
Vadim B. Mikheev 7fab67a8ac Fix for EXISTS. 1998-02-13 03:41:23 +00:00
Vadim B. Mikheev e51c674c59 Support for subselects. 1998-02-13 03:40:23 +00:00
Vadim B. Mikheev 9184073324 Call union_planner() instead of planner(). 1998-02-13 03:39:26 +00:00
Vadim B. Mikheev 4a6e3a6a9f Old planner() becomes union_planner(); new planner() makes initialization
of some global variables to support subselects and calls union_planner().
Calls to SS_replace_correlation_vars() and SS_process_sublinks() in
query_planner() before planning.
Get rid of #ifdef INDEXSCAN_PATCH in createplan.c.
1998-02-13 03:37:04 +00:00
Vadim B. Mikheev a3f1c3673f Quite limited support for subselects in clausesel.c.
Get rid of #ifdef INDEXSCAN_PATCH in indxpath.c.
1998-02-13 03:29:39 +00:00
Vadim B. Mikheev dc892fd390 Support for subselects.
(Have to re-visit readfuncs.c)
1998-02-13 03:27:47 +00:00
Vadim B. Mikheev 1a105cefbd Support for subselects.
ExecReScan for nodeAgg, nodeHash, nodeHashjoin, nodeNestloop and nodeResult.
Fixed ExecReScan for nodeMaterial.
Get rid of #ifdef INDEXSCAN_PATCH.
Get rid of ExecMarkPos and ExecRestrPos in nodeNestloop.
1998-02-13 03:26:53 +00:00
Vadim B. Mikheev 13637df458 Support for subselects. 1998-02-13 03:21:30 +00:00
Marc G. Fournier 33c2da9725 From: Michael Meskes <meskes@topsystem.de>
Here's the ecpg patch for the local variables bug I reported earlier:
1998-02-12 14:02:10 +00:00
Marc G. Fournier 7d55b1c7f0 There, fixed 1998-02-12 12:38:12 +00:00
Marc G. Fournier ced5b1ff01 Screwed this up...fixing now 1998-02-12 12:37:49 +00:00
Marc G. Fournier d8b59b1d30 Clean up Makefiles - shouldn't require configure *.in Makefiles, as they should
pull their data/info from Makefile.global
1998-02-12 12:35:56 +00:00
Marc G. Fournier 7783c2b9ff Remove configure code from ecpg, as well as remove the 'for' loop from the
Makefile, as it isn't appropriate for GNUmake
1998-02-12 02:14:59 +00:00
Bruce Momjian 1e7fed7fd9 MemSet cleanup. 1998-02-12 01:50:01 +00:00
Bruce Momjian 1e3c5b0ab5 Memset cleanup 1998-02-11 21:45:40 +00:00
Bruce Momjian e166409033 Change to MemSet for Alpha. 1998-02-11 21:38:08 +00:00
Bruce Momjian 182c2057f2 Change int align. 1998-02-11 21:17:44 +00:00
Bruce Momjian 24cab6bd0d Goodbye register keyword. Compiler knows better. 1998-02-11 19:14:04 +00:00
Marc G. Fournier df10360d8e From: Michael Meskes <meskes@topsystem.de>
Cleanups for ecpg, as well as a missing patch so that its configured in
1998-02-11 15:30:00 +00:00
Marc G. Fournier 72aa1dabb9 From: Michael Meskes <meskes@topsystem.de>
Cleanups for ecpg, as well as a missing patch so that its configured in
1998-02-11 15:18:05 +00:00
Marc G. Fournier 755c2be9b4 From: Michael Meskes <meskes@topsystem.de>
Remove "temp" configure files
1998-02-11 14:44:02 +00:00
Marc G. Fournier 2784f7c81a From: Jan Wieck <jwieck@debis.com>
A few minutes ago I sent down the PL/Tcl  directory  to  this
    list.  Look at it and reuse anything that might help to build
    PL/perl.  I really hope that PL/perl and PL/Tcl appear in the
    6.3 distribution. I'll do whatever I can to make this happen.
1998-02-11 14:38:31 +00:00
Marc G. Fournier 957a6149e5 From: Jan Wieck <jwieck@debis.com>
A few minutes ago I sent down the PL/Tcl  directory  to  this
    list.  Look at it and reuse anything that might help to build
    PL/perl.  I really hope that PL/perl and PL/Tcl appear in the
    6.3 distribution. I'll do whatever I can to make this happen.
1998-02-11 14:14:18 +00:00
Marc G. Fournier a71a80b0f2 From: Jan Wieck <jwieck@debis.com>
A few minutes ago I sent down the PL/Tcl  directory  to  this
    list.  Look at it and reuse anything that might help to build
    PL/perl.  I really hope that PL/perl and PL/Tcl appear in the
    6.3 distribution. I'll do whatever I can to make this happen.
1998-02-11 14:08:01 +00:00
Thomas G. Lockhart 9d99dacd08 Update test for newly implemented "<=" operator. 1998-02-11 04:13:33 +00:00
Thomas G. Lockhart cad3c5d35b Try bumping to version two... 1998-02-11 04:11:19 +00:00
Thomas G. Lockhart 878b8d64c8 Define ROW and STATEMENT as parser tokens.
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".
1998-02-11 04:09:54 +00:00
Thomas G. Lockhart 5e9e8849c9 Automatically promote out of range integers to floats.
Throw elog(NOTICE) to flag promotion.
1998-02-11 03:56:08 +00:00
Thomas G. Lockhart 9e22f82562 Fix typos in SQL statement terminators. 1998-02-11 03:51:38 +00:00
Marc G. Fournier 1f4f6b22bc regression test based off of Solaris/Sparc v2.6 1998-02-10 17:42:54 +00:00
Marc G. Fournier 38201e21d0 Erk, the whole directory structure changed on us here... 1998-02-10 16:44:17 +00:00
Marc G. Fournier a8313f9671 Updated ECPG From: Michael Meskes <meskes@topsystem.de> 1998-02-10 16:37:01 +00:00
Bruce Momjian 0386a50f31 Pass around typmod as int16. 1998-02-10 16:04:38 +00:00
Marc G. Fournier 2a3c589c5a Clean up regression tests for SunOS (based on Solaris v2.6)
Clean up strings.out , removed func_get_detail from error message
1998-02-10 14:22:50 +00:00
Bruce Momjian 2c482cdbf2 Pass attypmod through to executor by adding to Var and Resdom. 1998-02-10 04:02:59 +00:00
Marc G. Fournier 2535fcde2a From: Peter T Mount <patches@maidast.demon.co.uk>
This patch fixes the following:

* Fixes minor bug found in DatabaseMetaData.getTables() where it doesn't
  handle default table types.
* It now reports an error if the client opens a database using
  properties, and either the user or password properties are missing. This
  should make the recent problem with Servlets easier to find.
* Commented out obsolete property in Driver.getPropertyInfo()
1998-02-09 03:22:41 +00:00
Marc G. Fournier 83e637a99a This was a new class that was introduced last weekend. I'm attaching the
source here. It goes in the src/interfaces/jdbc/postgresql/util directory

Marc, can you make sure this is in the distribution, Thanks
1998-02-09 02:16:55 +00:00
Bruce Momjian b33f080c26 Atttypmod cleanups. 1998-02-07 21:41:52 +00:00
Bruce Momjian 65faaf3046 atttypmod now -1. 1998-02-07 06:11:56 +00:00
Bruce Momjian ec9d5d71ec Update now that attcacheoff initial value is -1 always. 1998-02-06 20:18:01 +00:00
Bruce Momjian 6009d70eab Set attcacheoff value to -1 for all tables. 1998-02-06 19:18:06 +00:00
Bruce Momjian c2dd3c4fef Fix for \d on long table names. 1998-02-06 17:46:31 +00:00
Bruce Momjian b20fd6c42d FIx hasSubLinks for Vadim. 1998-02-06 16:46:29 +00:00
Marc G. Fournier 33c34920ff From: Michael Meskes <meskes@topsystem.de>
I have implemented a better user interface (well part of) so you can use it
as expected. As usual there are some bug fixes. :-)
1998-02-06 13:32:34 +00:00
Bruce Momjian fe0154ba87 FIx for varchar(), char() and INSERT .. SELECT. 1998-02-05 22:48:44 +00:00
Bruce Momjian 4eb1ee294d Vadim fix for vacuum analyze. 1998-02-05 21:19:21 +00:00
Bruce Momjian 5e6de5d961 FIx for atttypmod on system tables. 1998-02-05 19:50:55 +00:00