Hiroshi Inoue
5fad748eb8
Fix a bug about the handling of '.' in parse.c.
2002-07-15 02:56:39 +00:00
Bruce Momjian
e552e9e512
Improve relcache.c error reporting for the next guy who has to debug
...
this thing.
2002-07-15 01:57:51 +00:00
Bruce Momjian
91dfa1af97
Fix \? and \pset pager handling. \? wasn't honoring pager before.
2002-07-15 01:56:25 +00:00
Tom Lane
d5fa19c6ee
Add COMMENT ON CONSTRAINT facility (from Rod Taylor's pg_constraint patch).
...
Fix comment.c to not depend on parser token values, per discussion awhile
back.
2002-07-14 23:38:13 +00:00
Tom Lane
c4fb2b4e9e
Remove no-longer-appropriate notes about lack of CASCADE/RESTRICT behavior.
2002-07-14 22:47:56 +00:00
Tom Lane
df3f5dfd19
In DeleteAttributeTuples, use a single indexscan instead of the multiple
...
scans that will most likely be caused by SearchSysCache probes. Also,
share some code between index deletion and table deletion.
2002-07-14 21:08:08 +00:00
Tom Lane
942a2e94fa
Fix testing of partial-index predicates to work correctly in cases where
...
varno of index's relation is not 1. This embarrassing oversight pointed
out by Dmitry Tkach 12-Jul-02.
2002-07-13 19:20:34 +00:00
Bruce Momjian
59097af0bb
Mark as done, per Rod:
...
> o -Add ALTER TABLE DROP non-CHECK CONSTRAINT
> * -Allow psql \d to show foreign keys
> * -Auto-destroy sequence on DROP of table with SERIAL; perhaps a separate
> * -Prevent column dropping if column is used by foreign key
> * -Automatically drop constraints/functions when object is dropped
> * -Make foreign key constraints clearer in dump file
> * -Make foreign keys easier to identify
2002-07-13 02:42:16 +00:00
Bruce Momjian
fa064e9794
Both done:
...
o -Add SET or BEGIN timeout parameter to cancel query
> * -Add pg_depend table for dependency recording; use sysrelid, oid,
2002-07-13 02:21:15 +00:00
Bruce Momjian
4db8718e84
Add SET statement_timeout capability. Timeout is in ms. A value of
...
zero turns off the timer.
2002-07-13 01:02:14 +00:00
Bruce Momjian
ccb3f90f06
Re-add -I documentation, per Tom.
2002-07-13 00:55:53 +00:00
Tom Lane
7c6df91dda
Second phase of committing Rod Taylor's pg_depend/pg_constraint patch.
...
pg_relcheck is gone; CHECK, UNIQUE, PRIMARY KEY, and FOREIGN KEY
constraints all have real live entries in pg_constraint. pg_depend
exists, and RESTRICT/CASCADE options work on most kinds of DROP;
however, pg_depend is not yet very well populated with dependencies.
(Most of the ones that are present at this point just replace formerly
hardwired associations, such as the implicit drop of a relation's pg_type
entry when the relation is dropped.) Need to add more logic to create
dependency entries, improve pg_dump to dump constraints in place of
indexes and triggers, and add some regression tests.
2002-07-12 18:43:19 +00:00
Dave Cramer
791a40f943
Changed getCrossReference to return information about each composite key seperately
...
It used to return them as a,b in one row, and now returns
a in one row, and b in one row
2002-07-12 13:07:48 +00:00
Hiroshi Inoue
b82b2db7c1
An improvement of User Interface(Setup dialog) by Dave Page.
2002-07-12 02:02:26 +00:00
Hiroshi Inoue
59e5d516aa
1) Fix a memory leak in use declare/fetch mode.
...
2) Change default build mode to multibyte(Windows).
2002-07-12 01:41:25 +00:00
Bruce Momjian
839a346560
Not a valid item:
...
< * Add version file format stamp to heap and other table types
2002-07-11 21:41:25 +00:00
Bruce Momjian
ccdb8a8d3a
Remove duplicate:
...
< * Use BlockNumber rather than int where appropriate
2002-07-11 21:40:20 +00:00
Bruce Momjian
29dfd5fa26
Change error messages ExecAppend->ExecInsert and ExecReplace->ExecUpdate
...
as discussed on hackers.
2002-07-11 21:36:20 +00:00
Bruce Momjian
c20ae1ce50
Remove references to pre-7.1; too old.
2002-07-11 16:38:08 +00:00
Bruce Momjian
dddd8608b3
Update FAQ.
2002-07-11 16:35:56 +00:00
Tatsuo Ishii
fcc962566a
Add new CREATE CONVERSION/DROP CONVERSION command.
...
This is the first cut toward CREATE CONVERSION/DROP CONVERSION implementaion.
The commands can now add/remove tuples to the new pg_conversion system
catalog, but that's all. Still need work to make them actually working.
Documentations, regression tests also need work.
2002-07-11 07:39:28 +00:00
Bruce Momjian
f2bb1cfa85
Done, according to Rod Taylor:
...
> * -Add ALTER TRIGGER ... RENAME
2002-07-11 02:56:49 +00:00
Bruce Momjian
3a0136c7d2
Fix getopt flags. Man thing thing was messed up.
2002-07-11 02:00:14 +00:00
Bruce Momjian
9c6c0ceb97
Fix another --help typo in pg_restore.
2002-07-11 01:57:12 +00:00
Hiroshi Inoue
263db2e586
Make NAMEDATALEN changeable at compile time.
2002-07-11 01:52:46 +00:00
Bruce Momjian
87c963658c
Fix pg_restore flags in documentation.
2002-07-10 02:57:31 +00:00
Barry Lind
d676e29d41
fix bug in getTime() with fractional seconds reported by Laurette Cisneros (laurette@nextbus.com)
2002-07-10 00:51:36 +00:00
Bruce Momjian
92a77cb870
Oops, proper initialization for domainTypMod was none at all, not 0.
2002-07-09 13:52:14 +00:00
Bruce Momjian
81e7e71941
Fix compiler warning:
...
int32 domainTypMod = NULL;
should be:
int32 domainTypMod = 0;
2002-07-09 05:21:35 +00:00
Bruce Momjian
6797ddcc32
Fix typo mentioned by Rich Morin.
2002-07-09 04:47:07 +00:00
Bruce Momjian
9af7179a10
Done:
...
> * -Make one version of simple_prompt() in code (Bruce, Tom)
2002-07-08 02:01:02 +00:00
Bruce Momjian
2dc53d863c
Fix case syntax for freebsd template.
2002-07-08 01:54:30 +00:00
Bruce Momjian
20e83274bb
Fix typo in xl_heaptid comment
...
Manfred Koizar
2002-07-08 01:52:23 +00:00
Bruce Momjian
4f4753832e
Move CXX platform-specific stuff into template files.
2002-07-07 20:28:25 +00:00
Bruce Momjian
712f69ece8
Convert expr to case, for Peter E.
2002-07-07 14:24:13 +00:00
Bruce Momjian
1666970275
I've fixed up the way domain constraints (not null and type length)
...
are managed as per request.
Moved from merging with table attributes to applying themselves during
coerce_type() and coerce_type_typmod.
Regression tests altered to test the cast() scenarios.
Rod Taylor
2002-07-06 20:16:36 +00:00
Bruce Momjian
5af6e0a4ac
Add comments about sharing.
2002-07-06 20:14:58 +00:00
Bruce Momjian
7015111a19
Move simple_prompt() into its own file to be shared with psql and pg_dump.
2002-07-06 20:12:30 +00:00
Bruce Momjian
d66f172f4b
Don't document that UNDO is certain to be added in the future.
2002-07-05 19:06:11 +00:00
Barry Lind
f170e61d9b
fixed bug reported by Michael, Dietrich (mdt@emdete.de) where a large object handle was being used after the end of the transaction and thus resulting in an error.
2002-07-05 18:50:27 +00:00
Thomas G. Lockhart
fe92e018d7
Add a few new lines to display recently added fields in the ControlFile
...
structure.
Now includes the following new fields:
integer/float date/time storage
maximum length of names (+1; they must also include a null termination)
maximum number of function arguments
maximum length of locale name
2002-07-05 15:31:16 +00:00
Bruce Momjian
b2f2415c92
Mark person:
...
> * -Allow psql \d to show temporary table structure (Tom)
2002-07-05 02:10:17 +00:00
Bruce Momjian
5ebbf01838
Done
...
> * -Allow psql \d to show temporary table structure
2002-07-05 02:09:52 +00:00
Hiroshi Inoue
8831c35a19
Fix a bug reported by Zhou Han.
2002-07-05 01:31:41 +00:00
Bruce Momjian
37e37daa03
Add explanation of the various *_min_messages elog() values.
2002-07-05 01:17:20 +00:00
Bruce Momjian
0a4e3577f4
Cleanup.
2002-07-05 00:29:34 +00:00
Bruce Momjian
250a802c02
Fix capitalization.
2002-07-05 00:14:16 +00:00
Bruce Momjian
be64da227c
Add NULL space mention.
2002-07-04 19:26:10 +00:00
Bruce Momjian
c8c2b7fff9
Fix compile error in assert coded added by new DISTINCT ON patch.
2002-07-04 16:44:08 +00:00
Bruce Momjian
d59478c4f3
More clearly document in pg_dump when we are dealing with an object name
...
as it appears in the schema dump, and index tags.
2002-07-04 15:35:07 +00:00