Bruce Momjian
7980b8a5cc
Fix for inclusion of new prompt output.
1996-12-01 20:28:39 +00:00
Bruce Momjian
1eae8e1228
Fix compiler warning about unitialized variables.
1996-12-01 19:48:39 +00:00
Bruce Momjian
63df35e249
This patch changes quite a few instances of references of Oid's
...
as ints and longs. Touches on quite a few function args as
well. Most other files look ok as far as Oids go...still checking
though...
Since Oids are type'd as unsigned ints, they should prolly be used
with the %ud format string in elog and sprintf messages. Not sure
what kind of strangeness that could produce.
Darren King
1996-11-30 18:07:02 +00:00
Bruce Momjian
f0a9e64afd
As someone asked for this feature - patch for 1.09 follows.
...
Now You can do queries like
select sum(some_func(x)) from ...
select min(table1.x + table2.y) from table1, table2 where ...
and so on.
Vadim
1996-11-30 17:49:02 +00:00
Bruce Momjian
87352726b2
Change end-of-line comma to semicolon.
1996-11-30 17:47:07 +00:00
Bruce Momjian
d3e0860d25
Aded mention that != maps to <>.
1996-11-30 04:56:18 +00:00
Bruce Momjian
440279e803
Add indicator for in quote or in query to prompt.
1996-11-30 03:41:20 +00:00
Bruce Momjian
2d7aacb052
Added BETWEEN and IN to grammar. Map != to <>.
1996-11-30 03:38:09 +00:00
Bruce Momjian
a3d773a693
Allow select oid,* from table. Allow * anywhere in target list.
1996-11-29 15:56:18 +00:00
Vadim B. Mikheev
a962c6128f
vrl_min_tlen added to VRelListData.
1996-11-29 10:29:45 +00:00
Vadim B. Mikheev
03659a262e
Added: dynamic re-moving page from list of pages usable for shrinking
...
if its free-space < min_tuple_len.
1996-11-29 10:27:59 +00:00
Bryan Henderson
7b4426eaea
Throw some double quotes on the pile!
1996-11-29 06:24:14 +00:00
Bruce Momjian
316e81cf22
Fix for BSDI compile.
1996-11-29 04:49:46 +00:00
Bruce Momjian
ba876c150a
Changed saved_relname size to save memory.
1996-11-28 05:46:08 +00:00
Vadim B. Mikheev
c7cba5780f
Fix for "might be used uninitialized" warnings.
1996-11-28 04:37:38 +00:00
Bryan Henderson
f0e7004d29
Make strdup work for Ultrix. Thanks Erik Bertelsen
1996-11-28 03:32:18 +00:00
Vadim B. Mikheev
0667fd9491
TransactionIdIsInProgress is commented out
1996-11-27 15:15:54 +00:00
Bruce Momjian
6450bef6ec
Convert ' to " in dates. Update example code to show empty query as "".
1996-11-27 13:49:46 +00:00
Bruce Momjian
c9ec45062a
Remove unused define's.
1996-11-27 13:48:58 +00:00
Bruce Momjian
134c35c761
no change
1996-11-27 13:48:23 +00:00
Bruce Momjian
79b1a0ff35
Allow all empty queries to return EMPTY.
1996-11-27 13:47:05 +00:00
Bryan Henderson
9c0afeabb7
More stuff to make it compile on various ports.
1996-11-27 08:16:44 +00:00
Vadim B. Mikheev
a38365e0eb
New structures for new vacuum.
1996-11-27 07:35:06 +00:00
Vadim B. Mikheev
948720ee94
New mdtruncate() & smgrtruncate() funcs.
1996-11-27 07:33:42 +00:00
Vadim B. Mikheev
b41aa3903c
TransactionIdIsInProgress moved to shmem.c
1996-11-27 07:32:10 +00:00
Vadim B. Mikheev
f0c5a6c614
Shrinking and other things.
1996-11-27 07:27:20 +00:00
Vadim B. Mikheev
3385497228
New smgrtruncate smgr' interface func.
1996-11-27 07:25:52 +00:00
Vadim B. Mikheev
a2a33e1344
New mdtruncate() func for single segment relations (< 2Gb).
1996-11-27 07:24:02 +00:00
Vadim B. Mikheev
3643248ae2
TransactionIdIsInProgress is here now and gives quality answer
...
by scanning PROC structures of all running backend.
1996-11-27 07:20:07 +00:00
Vadim B. Mikheev
47312ec134
Setting MyProc->xid to InvalidTransactionId while creating
...
PROC structure (it's for new TransactionIdIsInProgress func).
1996-11-27 07:17:48 +00:00
Vadim B. Mikheev
713b65e19c
Setting MyProc->xid to current transaction' id in StartTransaction
...
and to InvalidTransactionId in CommitTransaction & AbortTransaction
(it's for new TransactionIdIsInProgress func).
1996-11-27 07:14:51 +00:00
Vadim B. Mikheev
1db76d708c
TransactionIdIsInProgress moved to shmem.c
1996-11-27 07:10:59 +00:00
Bryan Henderson
89c7e18b3f
Forgot in yesterday's Ultrix compile work.
1996-11-27 01:46:52 +00:00
Bryan Henderson
8cfe27dff0
OK, I think I've got the postconfig thing right now.
1996-11-26 08:12:39 +00:00
Bryan Henderson
93f722536f
Whoops, redo Ultrix patch so the other ports still compile.
1996-11-26 07:39:11 +00:00
Bryan Henderson
c118543186
Fix double-colon syntax error on fe-lobj.o.
1996-11-26 06:33:18 +00:00
Bryan Henderson
46d58fba33
Make it compile on Ultrix. Thanks Erik Bertelson.
1996-11-26 03:20:35 +00:00
Bryan Henderson
02c0eb6549
Properly structure ProcedureNameIndexScan so it doesn't generate
...
"may be used before being set" warnings.
1996-11-26 02:45:05 +00:00
Bryan Henderson
bf14017220
Put in #include <fcntl.h> for those systems that don't have it included by something else.
1996-11-26 01:17:56 +00:00
Bryan Henderson
f93f780269
-Werror fixes from D'Arcy.
1996-11-26 01:14:38 +00:00
Bryan Henderson
46c4e6f626
Include fcntl.h, which is not automatically included by sys/file.h on all systems.
1996-11-25 06:33:51 +00:00
Bryan Henderson
1d84088f50
Go back to $(postconfig...) from $(exec postconfig...) so it works on non-bash.
1996-11-25 05:51:50 +00:00
Bruce Momjian
6c2925b884
Prevent empty queries from crashing server.
1996-11-25 03:03:48 +00:00
Bryan Henderson
02db1f58cb
Fix access through null pointer info->rule_action. Thanks Darren King.
1996-11-24 05:58:57 +00:00
Bryan Henderson
9602150a04
Fix syntax error: missing argument to elog(). Thanks Darren King.
1996-11-24 05:46:12 +00:00
Bryan Henderson
092c7a6be5
Typecasts, etc. to make compile work on AIX. Thanks Darren King..
1996-11-24 04:44:24 +00:00
Bryan Henderson
d3f9d6ad4f
Move include of signal.h inside pqsignal.h so it's always where it's needed.
1996-11-24 04:07:17 +00:00
Bryan Henderson
7e499bd112
Add dep: rule.
1996-11-24 03:55:19 +00:00
Bryan Henderson
5c410fa0b9
First pass at getting shared libraries on AIX properly built.
1996-11-23 09:51:57 +00:00
Bryan Henderson
45f1d32bf1
Eliminate pesky "postconfig not found" message.
1996-11-23 09:42:51 +00:00