aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Libpq non-blocking mode, from Alfred PerlsteinBruce Momjian2000-01-18
|
* Remove compiler warningsTatsuo Ishii2000-01-18
|
* Show encoding name rather than encoding id in case of psql -l.Tatsuo Ishii2000-01-18
|
* Add builtin functions:Tatsuo Ishii2000-01-18
| | | | | pg_char_to_encoding() pg_encoding_to_char()
* numeric_in accepts exponents; numeric to int4 rounds; float4/8 to numericTom Lane2000-01-18
| | | | | | 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.
* Fix multibyte supportTatsuo Ishii2000-01-18
|
* Adopt for new psqlTatsuo Ishii2000-01-18
|
* Updated user interfaces on initdb, initlocation, pg_dump, ipcclean to a ↵Peter Eisentraut2000-01-18
| | | | | | GNU-compliant'ish state. Made ipcclean work on Linux.
* setheapoverride() is history. Uses replaced with CommandCounterIncrement()Tom Lane2000-01-17
| | | | | where necessary --- several of them didn't really need it, though. tqual-checking macros simplified accordingly.
* Correct minor typos.Tom Lane2000-01-17
|
* Update subquery error message.Bruce Momjian2000-01-17
|
* Add .cvsignore so cvs update doesn't complain about derivedTom Lane2000-01-17
| | | | files being left around.
* Modify libpq's pqexpbuffer to eliminate length restriction on how muchTom Lane2000-01-17
| | | | | | 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/.
* Pass atttypmod to CoerceTargetExpr, so that it can pass it on toTom Lane2000-01-17
| | | | | coerce_type, so that the right things happen when coercing a previously- unknown constant to a destination data type.
* Hmm, numeric array type was missing too. Added.Tom Lane2000-01-17
| | | | | 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?
* Fix for TODO item * spinlock stuck problem when elog(FATAL)Hiroshi Inoue2000-01-17
| | | | and elog(ERROR) inside bufmgr.
* Update unused_oids script so it works with non-GNU awk --- /* ... */Tom Lane2000-01-17
| | | | comment style apparently isn't portable to other awks.
* Apparently, no one's ever used float4abs(), because it's got incorrectTom Lane2000-01-17
| | | | | data in its pg_proc entry. abs() doesn't require two arguments, last I heard.
* Update strings test to reflect the fact that casting to char() willTom Lane2000-01-17
| | | | now truncate or pad to the specified length.
* Create a new parsetree node type, TypeCast, so that transformation ofTom Lane2000-01-17
| | | | | | 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.
* Rearrange coding in COPY so that expansible string buffer for data beingTom Lane2000-01-16
| | | | | | | | | 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.
* Sigh, I'm an idiot ... I broke the async startup logic a couple days ago,Tom Lane2000-01-16
| | | | | | | 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.
* Put back change to 'connection failed' message formatting that someoneTom Lane2000-01-16
| | | | overwrote.
* Removed lextest, because lex'ed files are now in the distribution.Peter Eisentraut2000-01-16
|
* Included all yacc and lex files into the distribution.Peter Eisentraut2000-01-16
|
* Add check that inherited constraints and defaults work.Tom Lane2000-01-16
|
* Repair breakage of inherited constraint expressions --- needed aTom Lane2000-01-16
| | | | | | CommandCounterIncrement to make new relation visible before trying to parse/deparse the expressions. Also, eliminate unnecessary setheapoverride calls in AddNewAttributeTuples.
* Fix broken FOR UPDATE error message.Tom Lane2000-01-16
|
* Fix passing of atttypmod that Tom found.Bruce Momjian2000-01-16
|
* Clean up pg_dump coredumps caused by change of output formatting forTom Lane2000-01-16
| | | | | | | 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??)
* Add some examples to numeric regress test to verify that recently-fixedTom Lane2000-01-15
| | | | problems are indeed fixed.
* Clean up problems with rounding/overflow code in NUMERIC, particularlyTom Lane2000-01-15
| | | | | the case wherein zero was rejected for a field like NUMERIC(4,4). Miscellaneous other code beautification efforts.
* Fix a passel of problems with incorrect calls to typinput and typoutputTom Lane2000-01-15
| | | | | | | 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().
* Now that new psql is fflush()'ing properly, it emerges that severalTom Lane2000-01-15
| | | | | regress test expected outputs were committed with NOTICEs appearing out of order. Update to correct results.
* Update arrays regress test to reflect fact that several thingsTom Lane2000-01-15
| | | | work now that did not work in 6.5.
* - Allow array on int8Peter Eisentraut2000-01-15
| | | | | | - Prevent permissions on indexes - Instituted --enable-multibyte option and tweaked the MB build process where necessary - initdb prompts for superuser password
* Adapt to the changes of libpq(eliminateing using putenv()).Tatsuo Ishii2000-01-15
|
* Eliminate using putenv().Tatsuo Ishii2000-01-15
|
* Prepare for new psqlTatsuo Ishii2000-01-15
|
* Fixed all elog related warnings, as well as a few others.Peter Eisentraut2000-01-15
|
* Fixed psql variables vs array syntax, as well as minor psql enhancementsPeter Eisentraut2000-01-14
|
* * User management commands no longer user pg_exec_query_dest -> more robustPeter Eisentraut2000-01-14
| | | | | | | | | | | | * Let unprivileged users change their own passwords. * The password is now an Sconst in the parser, which better reflects its text datatype and also forces users to quote them. * If your password is NULL you won't be written to the password file, meaning you can't connect until you have a password set up (if you use password authentication). * When you drop a user that owns a database you get an error. The database is not gone.
* Clean up some problems in new asynchronous-connection logicTom Lane2000-01-14
| | | | | | in libpq --- mostly, poor response to error conditions. You now actually get to see the postmaster's 'The Data Base System is starting up' message, which you didn't before. I suspect the SSL code is still broken though.
* Make PSQLexec's behavior on loss of connection more reasonable;Tom Lane2000-01-14
| | | | report original error before attempting reset, not after.
* Make connection-failed messages a little friendlier onTom Lane2000-01-14
| | | | 80-column displays...
* Remove redundant and now-incorrect declaration of pstrdup.Tom Lane2000-01-14
|
* Bump catversion to ensure initdb.Tom Lane2000-01-14
|
* Revise quoting conventions in outfuncs/readfuncs so that nodeRead doesn'tTom Lane2000-01-14
| | | | | | choke on relation or attribute names containing spaces, quotes, or other special characters. This fixes a TODO item. It also forces initdb, since stored rule strings change.
* Fixed everything in and surrounding createdb and dropdb to make it morePeter Eisentraut2000-01-13
| | | | error-proof. Rearranged some old code and removed dead sections.
* initdb didn't load pg_descriptionPeter Eisentraut2000-01-13
|