Bruce Momjian
8c1d09d591
Inheritance overhaul by Chris Bitmead <chris@bitmead.com>
2000-06-09 01:44:34 +00:00
Tom Lane
0a7fb4e918
First round of changes for new fmgr interface. fmgr itself and the
...
key call sites are changed, but most called functions are still oldstyle.
An exception is that the PL managers are updated (so, for example, NULL
handling now behaves as expected in plperl and plpgsql functions).
NOTE initdb is forced due to added column in pg_proc.
2000-05-28 17:56:29 +00:00
Bruce Momjian
52f77df613
Ye-old pgindent run. Same 4-space tabs.
2000-04-12 17:17:23 +00:00
Hiroshi Inoue
fd9ff86bd9
Trial implementation of ALTER DROP COLUMN.
...
They are #ifdef'd.
Add -D_DROP_COLUMN_HACK__ compile option
to evaluate it.
2000-03-09 05:00:26 +00:00
Bruce Momjian
5c25d60244
Add:
...
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
to all files copyright Regents of Berkeley. Man, that's a lot of files.
2000-01-26 05:58:53 +00:00
Tom Lane
cc2e19ef9a
Ah-hah, there are attribute size constants lurking here too.
2000-01-11 05:18:42 +00:00
Jan Wieck
7c385f73e5
Required catalog changes for extended LONG attribute storage.
...
Jan
1999-12-20 10:40:43 +00:00
Jan Wieck
1547ee017c
This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support.
...
Implements the CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands.
TODO:
Generic builtin trigger procedures
Automatic execution of appropriate CREATE CONSTRAINT... at CREATE TABLE
Support of new trigger type in pg_dump
Swapping of huge # of events to disk
Jan
1999-09-29 16:06:40 +00:00
Tom Lane
e9054829a2
Update comments about attdisbursion. NO code change.
1999-08-09 02:45:56 +00:00
Tom Lane
cf835f97fc
Add comments for attdisbursion field --- NO code change.
1999-07-31 19:07:25 +00:00
Bruce Momjian
07842084fe
pgindent run over code.
1999-05-25 16:15:34 +00:00
Tom Lane
8a3ef74b7c
Clean up various minor irregularities detected by type_sanity
...
and newly expanded opr_sanity tests.
1999-03-28 02:01:39 +00:00
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
1999-02-13 23:22:53 +00:00
Vadim B. Mikheev
36ef34d73c
Added attributes for primary/unique/foreign keys...
1998-09-10 15:32:32 +00:00
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
Bruce Momjian
af74855a60
Renaming cleanup, no pgindent yet.
1998-09-01 03:29:17 +00:00
Bruce Momjian
50ad4a70b9
Make 'name' type int aligned, like char/varchar.
1998-08-27 05:06:57 +00:00
Bruce Momjian
4166f73997
Fix 'd ' should be 'd'.
1998-08-27 01:04:23 +00:00
Bruce Momjian
823c393b9f
Fix problem where attbyval was wrong for xid types.
1998-08-26 17:12:12 +00:00
Bruce Momjian
d394d06d7a
Fix atttypmod alignment again, and re-enable ecpg.
1998-08-26 16:43:54 +00:00
Bruce Momjian
e2b0911564
Fix atttypmod to be int32 in system catalogs. Oops.
1998-08-26 05:51:24 +00:00
Bruce Momjian
093beb3560
Make attalign match type alignment.
1998-08-26 05:22:58 +00:00
Bruce Momjian
c0b01461db
o note that now pg_database has a new attribuite "encoding" even
...
if MULTIBYTE is not enabled. So be sure to run initdb.
o these patches are made against the latest source tree (after
Bruce's massive patch, I think) BTW, I noticed that after running
regression, the oid field of pg_type seems disappeared.
regression=> select oid from pg_type; ERROR: attribute
'oid' not found
this happens after the constraints test. This occures with/without
my patches. strange...
o pg_database_mb.h, pg_class_mb.h, pg_attribute_mb.h are no longer
used, and shoud be removed.
o GetDatabaseInfo() in utils/misc/database.c removed (actually in
#ifdef 0). seems nobody uses.
t-ishii@sra.co.jp
1998-08-24 01:14:24 +00:00
Bruce Momjian
79c8d2e3a0
Change owner from oid to int4 type.
1998-08-11 18:28:49 +00:00
Bruce Momjian
683f399391
Change atttypmod from int16 to int32, for Thomas.
1998-07-12 21:29:40 +00:00
Bruce Momjian
8ecc01cf8a
Fix bad oid in table.
1998-03-07 04:49:57 +00:00
Bruce Momjian
a8de40df53
Get rid of those pesky long constants, 'l'. Has no affect.
1998-03-04 18:41:08 +00:00
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +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
edd3668895
Atttypmod cleanup.
1998-02-13 19:46:22 +00:00
Bruce Momjian
0386a50f31
Pass around typmod as int16.
1998-02-10 16:04:38 +00:00
Bruce Momjian
2c482cdbf2
Pass attypmod through to executor by adding to Var and Resdom.
1998-02-10 04:02:59 +00:00
Bruce Momjian
65faaf3046
atttypmod now -1.
1998-02-07 06:11:56 +00:00
Bruce Momjian
5e6de5d961
FIx for atttypmod on system tables.
1998-02-05 19:50:55 +00:00
Bruce Momjian
691dc282f8
Fix for SELECT INTO TABLE for varchar().
1998-01-19 02:37:51 +00:00
Bruce Momjian
c65ea0e040
New pg_attribute.atttypmod for type-specific information like
...
varchar length.
Cleans up code so attlen is always length.
Removed varchar() hack added earlier.
Will fix bug in selecting varchar() fields, and varchar() can be
variable length.
1998-01-16 23:21:07 +00:00
Marc G. Fournier
4c04f7724e
From: todd brandys <brandys@eng3.hep.uiuc.edu>
...
An extension to the code to allow for a pg_password authentication database
that is *seperate* from the system password file
1997-12-04 00:28:15 +00:00
Bruce Momjian
3fa2bb316c
Remove archive stuff.
1997-11-21 18:12:58 +00:00
Bruce Momjian
12fc33077b
New \dS psql command. initdb cleanup.
1997-11-16 04:36:52 +00:00
Bruce Momjian
1c32d285a6
Remove pg_magic, defaults, server, hosts, and demon tables. unused.
1997-11-15 20:58:05 +00:00
Vadim B. Mikheev
32cd09ac6d
Good Bye, Time Travel!
1997-11-02 15:27:14 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Vadim B. Mikheev
989ab6b1e7
pg_trigger changed
1997-09-04 13:25:14 +00:00
Vadim B. Mikheev
2d7b93c0ca
Welcome, triggers
1997-08-31 09:55:24 +00:00
Vadim B. Mikheev
d67547d82d
Set attbyval for attdisbursion to FALSE
...
Set atttype for relchecks to 21 (int2)
Set relkind for pg_attrdef & pg_relcheck to 'n'
1997-08-22 04:04:19 +00:00
Bruce Momjian
e482462960
Rename pg_attribute.attnvals to attdisbursion.
1997-08-21 03:02:13 +00:00
Bruce Momjian
f1edf02cc1
Change pg_attribute.attnvals to float4, change #ifdef 0 to #if 0, fix aix call to strNcpy, fix pg_super_user_id in pg_dumpall, change pg_database.dtadba from oid to int4.
1997-08-21 02:28:55 +00:00
Vadim B. Mikheev
25aa0f8d04
New system relations to store DEFAULT/CHECK expressions.
1997-08-21 01:37:55 +00:00
Vadim B. Mikheev
b992e200b8
NOT NULL implementation (submitted by Robson Paniago de Miranda).
1997-08-19 04:46:15 +00:00