Bruce Momjian
e1cce4d5ea
This corrects an error in current gram.y for ALTER TABLE ... ADD
...
CONSTRAINT
Oliver Elphick
2000-01-18 06:12:03 +00:00
Bruce Momjian
41d4548b0f
Freebsd update for sgml, from Alfred Perlstein
2000-01-18 06:10:54 +00:00
Bruce Momjian
10d7287ab9
Libpq non-blocking mode, from Alfred Perlstein
2000-01-18 06:09:24 +00:00
Tatsuo Ishii
b1e891dbd4
Remove compiler warnings
2000-01-18 05:14:24 +00:00
Tatsuo Ishii
449b4cc177
Show encoding name rather than encoding id in case of psql -l.
2000-01-18 05:11:38 +00:00
Tatsuo Ishii
5eb1d0deb1
Add builtin functions:
...
pg_char_to_encoding()
pg_encoding_to_char()
2000-01-18 05:10:29 +00:00
Tom Lane
d58fa7611b
numeric_in accepts exponents; numeric to int4 rounds; float4/8 to numeric
...
is considerably more robust and accurate than it used to be.
Also, get rid of numeric's private allocation freelist, which is no longer
a win since Jan rewrote palloc.
2000-01-18 03:44:41 +00:00
Tatsuo Ishii
8da316291f
Fix multibyte support
2000-01-18 03:01:40 +00:00
Tatsuo Ishii
beba98d14a
Adopt for new psql
2000-01-18 03:00:37 +00:00
Peter Eisentraut
28125ed5e0
Updated user interfaces on initdb, initlocation, pg_dump, ipcclean to a GNU-compliant'ish state.
...
Made ipcclean work on Linux.
2000-01-18 00:03:37 +00:00
Tom Lane
9e0b463473
setheapoverride() is history. Uses replaced with CommandCounterIncrement()
...
where necessary --- several of them didn't really need it, though.
tqual-checking macros simplified accordingly.
2000-01-17 23:57:48 +00:00
Tom Lane
fb0627d972
Correct minor typos.
2000-01-17 04:47:05 +00:00
Bruce Momjian
e3354ab320
Update subquery error message.
2000-01-17 04:43:56 +00:00
Tom Lane
72cec86235
Add .cvsignore so cvs update doesn't complain about derived
...
files being left around.
2000-01-17 04:38:49 +00:00
Tom Lane
2fd4e7762c
Modify libpq's pqexpbuffer to eliminate length restriction on how much
...
data can be formatted per call. This requires relying on vsnprintf().
On machines that haven't got vsnprintf, link in the version from
backend/port/.
2000-01-17 02:59:46 +00:00
Bruce Momjian
6759f4388f
Update TODO list.
2000-01-17 02:43:13 +00:00
Tom Lane
ac4878a060
Pass atttypmod to CoerceTargetExpr, so that it can pass it on to
...
coerce_type, so that the right things happen when coercing a previously-
unknown constant to a destination data type.
2000-01-17 02:04:16 +00:00
Tom Lane
ceca03600e
Hmm, numeric array type was missing too. Added.
...
Of the standard types, only 'timestamp' seems not to have an array type;
should it be added, or are we going to remove that type for 7.0 anyway?
2000-01-17 01:29:07 +00:00
Hiroshi Inoue
1500e262b5
Fix for TODO item * spinlock stuck problem when elog(FATAL)
...
and elog(ERROR) inside bufmgr.
2000-01-17 01:15:19 +00:00
Tom Lane
116ba5d814
Update unused_oids script so it works with non-GNU awk --- /* ... */
...
comment style apparently isn't portable to other awks.
2000-01-17 00:53:11 +00:00
Tom Lane
90b883425a
Apparently, no one's ever used float4abs(), because it's got incorrect
...
data in its pg_proc entry. abs() doesn't require two arguments, last
I heard.
2000-01-17 00:40:51 +00:00
Tom Lane
2d4a05d7df
Update strings test to reflect the fact that casting to char() will
...
now truncate or pad to the specified length.
2000-01-17 00:16:41 +00:00
Tom Lane
49528361f5
Create a new parsetree node type, TypeCast, so that transformation of
...
SQL cast constructs can be performed during expression transformation
instead of during parsing. This allows constructs like x::numeric(9,2)
and x::int2::float8 to behave as one would expect.
2000-01-17 00:14:49 +00:00
Tom Lane
e0bd60171a
Rearrange coding in COPY so that expansible string buffer for data being
...
read is reused for successive attributes, instead of being deleted and
recreated from scratch for each value read in. This reduces palloc/pfree
overhead a lot. COPY IN still seems to be noticeably slower than it was
in 6.5 --- we need to figure out why. This change takes care of the only
major performance loss I can see in copy.c itself, so the performance
problem is at a lower level somewhere.
2000-01-16 21:37:50 +00:00
Tom Lane
d00391e7ac
Sigh, I'm an idiot ... I broke the async startup logic a couple days ago,
...
by creating a race condition. It wasn't waiting for select() to say
write-ready immediately after connect, which meant that you might get
an unhelpful 'broken pipe' error message if connect failed, rather than
the intended error message.
2000-01-16 21:18:52 +00:00
Tom Lane
fdc85f50a3
Put back change to 'connection failed' message formatting that someone
...
overwrote.
2000-01-16 20:34:54 +00:00
Peter Eisentraut
bb61218c5f
Removed lextest, because lex'ed files are now in the distribution.
2000-01-16 20:08:45 +00:00
Peter Eisentraut
759fba4873
Included all yacc and lex files into the distribution.
2000-01-16 20:05:00 +00:00
Tom Lane
a4e1304ed1
Add check that inherited constraints and defaults work.
2000-01-16 19:57:48 +00:00
Tom Lane
47a895fe72
Repair breakage of inherited constraint expressions --- needed a
...
CommandCounterIncrement to make new relation visible before trying to
parse/deparse the expressions. Also, eliminate unnecessary
setheapoverride calls in AddNewAttributeTuples.
2000-01-16 19:57:00 +00:00
Tom Lane
7d715ba063
Fix broken FOR UPDATE error message.
2000-01-16 08:21:59 +00:00
Bruce Momjian
1b6b4d40ed
Update TODO list.
2000-01-16 07:05:35 +00:00
Bruce Momjian
faff1b776b
Fix passing of atttypmod that Tom found.
2000-01-16 05:18:19 +00:00
Bruce Momjian
fae5d81c68
Update TODO list.
2000-01-16 05:18:07 +00:00
Tom Lane
97e82dc72c
Clean up pg_dump coredumps caused by change of output formatting for
...
oidvector/int2vector. pg_dump code was assuming that it would see
exactly FUNC_MAX_ARGS integers in the string returned by the backend.
That's no longer true. (Perhaps that change wasn't such a good idea
after all --- will it break any other applications??)
2000-01-16 03:54:58 +00:00
Bruce Momjian
255e07e829
Update TODO list.
2000-01-16 02:35:30 +00:00
Bruce Momjian
3a2e08618c
Update TODO list.
2000-01-16 02:32:13 +00:00
Tom Lane
b0b3187bb4
Add some examples to numeric regress test to verify that recently-fixed
...
problems are indeed fixed.
2000-01-15 23:44:17 +00:00
Tom Lane
3cb8c8da68
Clean up problems with rounding/overflow code in NUMERIC, particularly
...
the case wherein zero was rejected for a field like NUMERIC(4,4).
Miscellaneous other code beautification efforts.
2000-01-15 23:42:49 +00:00
Tom Lane
584e646ad8
Fix a passel of problems with incorrect calls to typinput and typoutput
...
functions, which would lead to trouble with datatypes that paid attention
to the typelem or typmod parameters to these functions. In particular,
incorrect code in pg_aggregate.c explains the platform-specific failures
that have been reported in NUMERIC avg().
2000-01-15 22:43:25 +00:00
Bruce Momjian
0f4a586821
Update TODO list.
2000-01-15 19:32:06 +00:00
Tom Lane
5e6004135b
Now that new psql is fflush()'ing properly, it emerges that several
...
regress test expected outputs were committed with NOTICEs appearing out
of order. Update to correct results.
2000-01-15 19:18:24 +00:00
Tom Lane
6ce5e0abb6
Update arrays regress test to reflect fact that several things
...
work now that did not work in 6.5.
2000-01-15 19:11:40 +00:00
Peter Eisentraut
2a1bfbce24
- Allow array on int8
...
- Prevent permissions on indexes
- Instituted --enable-multibyte option and tweaked the MB build process where necessary
- initdb prompts for superuser password
2000-01-15 18:30:35 +00:00
Tatsuo Ishii
a765db409b
Add pgench: a TPC-B like benchmarking tool
2000-01-15 12:38:09 +00:00
Tatsuo Ishii
bfbd58ce13
Adapt to the changes of libpq(eliminateing using putenv()).
2000-01-15 05:38:50 +00:00
Tatsuo Ishii
8fc386a2d8
Eliminate using putenv().
2000-01-15 05:37:21 +00:00
Tatsuo Ishii
6095e36cca
Prepare for new psql
2000-01-15 05:17:45 +00:00
Peter Eisentraut
1cd4c14116
Fixed all elog related warnings, as well as a few others.
2000-01-15 02:59:43 +00:00
Peter Eisentraut
7c9390caa1
Fixed psql variables vs array syntax, as well as minor psql enhancements
2000-01-14 22:18:03 +00:00