]> granicus.if.org Git - postgresql/log
postgresql
21 years agoStamp 7.3.4.
Bruce Momjian [Wed, 23 Jul 2003 04:08:44 +0000 (04:08 +0000)]
Stamp 7.3.4.

21 years agoError message editing in backend/bootstrap, /lib, /nodes, /port.
Tom Lane [Tue, 22 Jul 2003 23:30:39 +0000 (23:30 +0000)]
Error message editing in backend/bootstrap, /lib, /nodes, /port.

21 years agoError message editing for foreign-key triggers.
Tom Lane [Tue, 22 Jul 2003 22:14:57 +0000 (22:14 +0000)]
Error message editing for foreign-key triggers.

21 years agoA few parentheses shy of a load here ...
Tom Lane [Tue, 22 Jul 2003 21:19:22 +0000 (21:19 +0000)]
A few parentheses shy of a load here ...

21 years agoAdd GUC parameter to control rendezvous name.
Bruce Momjian [Tue, 22 Jul 2003 20:29:13 +0000 (20:29 +0000)]
Add GUC parameter to control rendezvous name.

21 years agowups, took out one memset too many ...
Tom Lane [Tue, 22 Jul 2003 19:13:19 +0000 (19:13 +0000)]
wups, took out one memset too many ...

21 years agoError message editing in backend/libpq, backend/postmaster, backend/tcop.
Tom Lane [Tue, 22 Jul 2003 19:00:12 +0000 (19:00 +0000)]
Error message editing in backend/libpq, backend/postmaster, backend/tcop.

Along the way, fix some logic problems in pgstat_initstats, notably the
bogus assumption that malloc returns zeroed memory.

21 years agoFix threading configure tests, from Peter.
Bruce Momjian [Tue, 22 Jul 2003 16:39:55 +0000 (16:39 +0000)]
Fix threading configure tests, from Peter.

21 years agoRemove link of tarball
Teodor Sigaev [Tue, 22 Jul 2003 14:06:36 +0000 (14:06 +0000)]
Remove link of tarball

21 years agoMark tsearch v1 as deprecated
Teodor Sigaev [Tue, 22 Jul 2003 13:21:48 +0000 (13:21 +0000)]
Mark tsearch v1 as deprecated

21 years agoFix to prevent SQL injection attacks for code calling setObject(int,Object,int)
Barry Lind [Tue, 22 Jul 2003 05:17:09 +0000 (05:17 +0000)]
Fix to prevent SQL injection attacks for code calling setObject(int,Object,int)
where Object is a user supplied String and the type is a numeric type
(i.e. INTEGER,LONG,etc).
Also applied a patch from Kim Ho that fixes compile problems under jdk1.2

 Modified Files:
  jdbc/org/postgresql/Driver.java.in
  jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java

21 years agoAdd:
Bruce Momjian [Tue, 22 Jul 2003 01:06:51 +0000 (01:06 +0000)]
Add:

>  o Allow PL/pgSQL to name columns by ordinal position, e.g. rec.(3)

21 years agoAdd:
Bruce Momjian [Tue, 22 Jul 2003 00:49:22 +0000 (00:49 +0000)]
Add:

> * Prevent COMMENT ON DATABASE from using a database name

21 years agoDon't report sequendces in pg_tables.
Bruce Momjian [Tue, 22 Jul 2003 00:02:55 +0000 (00:02 +0000)]
Don't report sequendces in pg_tables.

21 years agoBack out comment on GucContexts.
Bruce Momjian [Mon, 21 Jul 2003 21:02:12 +0000 (21:02 +0000)]
Back out comment on  GucContexts.

21 years agoApplied patch from dmitry@openratings.com to fix parsing of array values
Barry Lind [Mon, 21 Jul 2003 20:48:31 +0000 (20:48 +0000)]
Applied patch from dmitry@openratings.com to fix parsing of array values

 Modified Files:
  jdbc/org/postgresql/Driver.java.in
  jdbc/org/postgresql/jdbc2/Array.java

21 years agoError message editing in backend/access.
Tom Lane [Mon, 21 Jul 2003 20:29:40 +0000 (20:29 +0000)]
Error message editing in backend/access.

21 years agoFix regression test broken by recent view change.
Tom Lane [Mon, 21 Jul 2003 20:24:31 +0000 (20:24 +0000)]
Fix regression test broken by recent view change.

21 years agoAdd:
Bruce Momjian [Mon, 21 Jul 2003 19:15:48 +0000 (19:15 +0000)]
Add:

>  o Add PL/PHP (Joe, Jan)

21 years agoAdd:
Bruce Momjian [Mon, 21 Jul 2003 19:04:54 +0000 (19:04 +0000)]
Add:

> * Have AFTER triggers execute after the appropriate SQL statement in a
>   function, not at the end of the function

21 years agoError message editing in backend/executor.
Tom Lane [Mon, 21 Jul 2003 17:05:12 +0000 (17:05 +0000)]
Error message editing in backend/executor.

21 years agoFix relkind test for pg_tables.
Bruce Momjian [Mon, 21 Jul 2003 15:20:27 +0000 (15:20 +0000)]
Fix relkind test for pg_tables.

Mike Quinn

21 years agoFix output to psql:tsearch2.sql:13: NOTICE: ... "pg_ts_dict_pkey"
Teodor Sigaev [Mon, 21 Jul 2003 15:15:19 +0000 (15:15 +0000)]
Fix output to psql:tsearch2.sql:13: NOTICE:  ... "pg_ts_dict_pkey"

21 years agotsearch2 module
Teodor Sigaev [Mon, 21 Jul 2003 10:27:44 +0000 (10:27 +0000)]
tsearch2 module

21 years ago I updated Japanese translation of PostgreSQL FAQ
Bruce Momjian [Mon, 21 Jul 2003 04:18:41 +0000 (04:18 +0000)]
  I updated Japanese translation of PostgreSQL FAQ
according to your version on May/30.
(HTML and TEXT files are gzipped.)

  Jun Kuwamura

21 years agoError message editing in backend/catalog.
Tom Lane [Mon, 21 Jul 2003 01:59:11 +0000 (01:59 +0000)]
Error message editing in backend/catalog.

21 years agoAnother round of error message editing, covering backend/commands/.
Tom Lane [Sun, 20 Jul 2003 21:56:35 +0000 (21:56 +0000)]
Another round of error message editing, covering backend/commands/.

21 years agoUpdate URL's.
Bruce Momjian [Sun, 20 Jul 2003 21:52:46 +0000 (21:52 +0000)]
Update URL's.

21 years agoDone:
Bruce Momjian [Sun, 20 Jul 2003 19:21:41 +0000 (19:21 +0000)]
Done:

* -Allow LIMIT/OFFSET to use expressions (Tom)

21 years agoAdd Opteron/Itanium comment.
Bruce Momjian [Sun, 20 Jul 2003 04:31:32 +0000 (04:31 +0000)]
Add Opteron/Itanium comment.

21 years agoAdd:
Bruce Momjian [Sun, 20 Jul 2003 03:12:13 +0000 (03:12 +0000)]
Add:

> * Delay resolution of array expression type so assignment coercion
>   can be performed on empty array expressions (Joe)

21 years agoError message editing: finish up undone task of reporting the problem
Tom Lane [Sat, 19 Jul 2003 21:37:37 +0000 (21:37 +0000)]
Error message editing: finish up undone task of reporting the problem
xid when we fail to access pg_clog.

21 years agoAdd ereport-related functions to GETTEXT_TRIGGERS list.
Tom Lane [Sat, 19 Jul 2003 20:32:12 +0000 (20:32 +0000)]
Add ereport-related functions to GETTEXT_TRIGGERS list.

21 years agoAnother round of error message editing, covering backend/parser/.
Tom Lane [Sat, 19 Jul 2003 20:20:53 +0000 (20:20 +0000)]
Another round of error message editing, covering backend/parser/.

21 years agoAdd tablespace email.
Bruce Momjian [Sat, 19 Jul 2003 14:09:24 +0000 (14:09 +0000)]
Add tablespace email.

21 years agoFirst bits of work on error message editing.
Tom Lane [Fri, 18 Jul 2003 23:20:33 +0000 (23:20 +0000)]
First bits of work on error message editing.

21 years agoAdd cleaner formatting to config file.
Bruce Momjian [Fri, 18 Jul 2003 19:16:03 +0000 (19:16 +0000)]
Add cleaner formatting to config file.

21 years agoAdded more compat stuff ot the parser.
Michael Meskes [Fri, 18 Jul 2003 14:32:56 +0000 (14:32 +0000)]
Added more compat stuff ot the parser.

21 years agoFix subpath and subltree. Allow to return '' value.
Teodor Sigaev [Fri, 18 Jul 2003 13:27:43 +0000 (13:27 +0000)]
Fix subpath and subltree. Allow to return '' value.
subpath(ltree,0,0) returns ''.

21 years agoStephen Robert Norris wrote:
Bruce Momjian [Fri, 18 Jul 2003 03:45:06 +0000 (03:45 +0000)]
Stephen Robert Norris wrote:
> Well, no. What it says is that certain values must be escaped (but
> doesn't say which ones). Then it says there are alternate escape
> sequences for some values, which it lists.
>
> It doesn't say "The following table contains the characters which must
> be escaped:", which would be much clearer (and actually useful).

Attached documentation patch updates the wording for bytea input
escaping, per complaint by Stephen Norris above.

Joe Conway

21 years agoIt seems some case-insensitive locales sort upper case before lower
Tom Lane [Fri, 18 Jul 2003 03:21:53 +0000 (03:21 +0000)]
It seems some case-insensitive locales sort upper case before lower
(BBBB before bbbb) and others the other way around.  Provide comparison
files that cater to both approaches.

21 years agoAdd an upper limit to IS_VALID_JULIAN() to defend against overflow in
Tom Lane [Thu, 17 Jul 2003 22:28:42 +0000 (22:28 +0000)]
Add an upper limit to IS_VALID_JULIAN() to defend against overflow in
date2j().  This ensures we give reasonable errors instead of bizarre
behavior for input dates far in the future.

21 years agoOh, for crying in a bucket ... relax Assert so that glibc's strxfrm
Tom Lane [Thu, 17 Jul 2003 22:20:14 +0000 (22:20 +0000)]
Oh, for crying in a bucket ... relax Assert so that glibc's strxfrm
does not dump core.

21 years agoWork around buggy strxfrm() present in some Solaris releases.
Tom Lane [Thu, 17 Jul 2003 20:52:36 +0000 (20:52 +0000)]
Work around buggy strxfrm() present in some Solaris releases.

21 years agoFor COMMENT ON DATABASE where database name is unknown or not the current
Tom Lane [Thu, 17 Jul 2003 20:13:57 +0000 (20:13 +0000)]
For COMMENT ON DATABASE where database name is unknown or not the current
database, emit a WARNING and do nothing, rather than raising ERROR.
Per recent discussion in which we concluded this is the best way to deal
with database dumps that are reloaded into a database of a new name.

21 years agoRepair boundary-case bug introduced by patch of two months ago that
Tom Lane [Thu, 17 Jul 2003 16:45:04 +0000 (16:45 +0000)]
Repair boundary-case bug introduced by patch of two months ago that
fixed incorrect initial setting of StartUpID.  The logic in XLogWrite()
expects that Write->curridx is advanced to the next page as soon as
LogwrtResult points to the end of the current page, but StartupXLOG()
failed to make that happen when the old WAL ended exactly on a page
boundary.  Per trouble report from Hannu Krosing.

21 years agoAllow blanks at the end of numerical values.
Michael Meskes [Thu, 17 Jul 2003 11:27:55 +0000 (11:27 +0000)]
Allow blanks at the end of numerical values.

21 years agoFixed some bugs in Informix compat functions.
Michael Meskes [Thu, 17 Jul 2003 07:54:29 +0000 (07:54 +0000)]
Fixed some bugs in Informix compat functions.

21 years agoMake EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention
Tom Lane [Thu, 17 Jul 2003 00:55:37 +0000 (00:55 +0000)]
Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention
for the sign of timezone offsets, ie, positive is east from UTC.  These
were previously out of step with other operations that accept or show
timezones, such as I/O of timestamptz values.

21 years agoAdd defenses against trying to attach qual conditions to a setOperation
Tom Lane [Wed, 16 Jul 2003 17:25:48 +0000 (17:25 +0000)]
Add defenses against trying to attach qual conditions to a setOperation
query node, since that won't work unless the planner is upgraded.
Someday we should try to support at least some cases of this, but for
now just plug the hole in the dike.  Per discussion with Dmitry Tkach.

21 years agoApplied patch to fix two compatibility functions.
Michael Meskes [Wed, 16 Jul 2003 13:18:51 +0000 (13:18 +0000)]
Applied patch to fix two compatibility functions.

21 years agoNow that I look, SHOW TRANSACTION_ISOLATION isn't quite consistent
Tom Lane [Tue, 15 Jul 2003 19:34:43 +0000 (19:34 +0000)]
Now that I look, SHOW TRANSACTION_ISOLATION isn't quite consistent
with SET TRANSACTION_ISOLATION, either.

21 years agoCause SHOW DATESTYLE to produce a string that will be accepted by SET
Tom Lane [Tue, 15 Jul 2003 19:19:56 +0000 (19:19 +0000)]
Cause SHOW DATESTYLE to produce a string that will be accepted by SET
DATESTYLE, for instance 'SQL, European' instead of
'SQL with European conventions'.  Per gripe a month or two back from
Barry Lind.

21 years agoAvoid use of int64_t, which seems not to be very portable. Simplify
Tom Lane [Tue, 15 Jul 2003 17:54:34 +0000 (17:54 +0000)]
Avoid use of int64_t, which seems not to be very portable.  Simplify
padding logic for struct sockaddr_storage --- original version did not
do what it claimed to when SALEN is defined.

21 years agoOSF supports pthreads, per Philip Yarra.
Tom Lane [Tue, 15 Jul 2003 17:28:36 +0000 (17:28 +0000)]
OSF supports pthreads, per Philip Yarra.

21 years agoStarted to create different error codes for different backend messages.
Michael Meskes [Tue, 15 Jul 2003 12:38:38 +0000 (12:38 +0000)]
Started to create different error codes for different backend messages.

21 years agoTweak original coding so that we can determine the platform-specific
Tom Lane [Tue, 15 Jul 2003 00:11:14 +0000 (00:11 +0000)]
Tweak original coding so that we can determine the platform-specific
shared_buffers and max_connections values to use before we run the
bootstrap process.  Without this, initdb would fail on platforms where
the hardwired default values are too large.  (We could get around that
by making the hardwired defaults tiny, perhaps, but why slow down
bootstrap by starving it for buffers...)

21 years agoRemove duplicate definition of ERROR.
Tom Lane [Mon, 14 Jul 2003 23:36:15 +0000 (23:36 +0000)]
Remove duplicate definition of ERROR.

21 years agoMake cost estimates for SubqueryScan more realistic: charge cpu_tuple_cost
Tom Lane [Mon, 14 Jul 2003 22:35:54 +0000 (22:35 +0000)]
Make cost estimates for SubqueryScan more realistic: charge cpu_tuple_cost
for each row processed, and don't forget the evaluation cost of any
restriction clauses attached to the node.  Per discussion with Greg Stark.

21 years agoFix typo in comment, as noted by Weiping He.
Tom Lane [Mon, 14 Jul 2003 20:34:18 +0000 (20:34 +0000)]
Fix typo in comment, as noted by Weiping He.

21 years agoThe default values for shared_buffers and max_connections are now 1000
Tom Lane [Mon, 14 Jul 2003 20:00:23 +0000 (20:00 +0000)]
The default values for shared_buffers and max_connections are now 1000
and 100 respectively, if the platform will allow it.  initdb selects
values that are not too large to allow the postmaster to start, and
places these values in the installed postgresql.conf file.  This allows
us to continue to start up out-of-the-box on platforms with small SHMMAX,
while having somewhat-realistic default settings on platforms with
reasonable SHMMAX.  Per recent pghackers discussion.

21 years agoWhoops, missed committing this change to match cosmetic changes in
Tom Lane [Mon, 14 Jul 2003 16:58:24 +0000 (16:58 +0000)]
Whoops, missed committing this change to match cosmetic changes in
ascii.c.

21 years agoFix a *second* buffer overrun bug in to_ascii(). Grumble.
Tom Lane [Mon, 14 Jul 2003 16:41:38 +0000 (16:41 +0000)]
Fix a *second* buffer overrun bug in to_ascii().  Grumble.

21 years agoMissed one rule in syncinc preproc.y which resulted in reduce/reduce conflicts.
Michael Meskes [Mon, 14 Jul 2003 12:18:25 +0000 (12:18 +0000)]
Missed one rule in syncinc preproc.y which resulted in reduce/reduce conflicts.

21 years ago - Synced preproc.y with gram.y
Michael Meskes [Mon, 14 Jul 2003 10:16:45 +0000 (10:16 +0000)]
    - Synced preproc.y with gram.y
        - Init sqlca in ECPGprepare().
        - Added CLOSE DATABASE for Informix compatibility.

21 years agoAdd description for new GUC context.
Bruce Momjian [Wed, 9 Jul 2003 17:57:47 +0000 (17:57 +0000)]
Add description for new GUC context.

Aizaz Ahmed

21 years agoArgh! Missed one file.
Michael Meskes [Wed, 9 Jul 2003 14:53:18 +0000 (14:53 +0000)]
Argh! Missed one file.

21 years agoFixed some Informix compat functions so they handle NULL resp. indicators better.
Michael Meskes [Wed, 9 Jul 2003 13:49:38 +0000 (13:49 +0000)]
Fixed some Informix compat functions so they handle NULL resp. indicators better.

21 years agoDoc update for LOG_MIN_DURATION_STATEMENT set to zero.
Bruce Momjian [Wed, 9 Jul 2003 08:52:56 +0000 (08:52 +0000)]
Doc update for LOG_MIN_DURATION_STATEMENT set to zero.

21 years agoAdd special checks for non-super-user setting LOG_MIN_DURATION_STATEMENT
Bruce Momjian [Wed, 9 Jul 2003 08:51:19 +0000 (08:51 +0000)]
Add special checks for non-super-user setting LOG_MIN_DURATION_STATEMENT
to zero.

21 years agoAdd new USERLIMIT GUC source level so certain options can be disabled
Bruce Momjian [Wed, 9 Jul 2003 06:47:34 +0000 (06:47 +0000)]
Add new USERLIMIT GUC source level so certain options can be disabled
or increased only by super-users.

This fixes problems caused by making certain variables SUSET for
security reasons.

21 years agoApplied patch from Kim Ho @ redhat.com to make support for setObject() more
Barry Lind [Wed, 9 Jul 2003 05:12:04 +0000 (05:12 +0000)]
Applied patch from Kim Ho @ redhat.com to make support for setObject() more
spec complient with regards to various data/time/timestamp objects

 Modified Files:
  jdbc/org/postgresql/errors.properties
  jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java

21 years agoMore informix fixes.
Michael Meskes [Tue, 8 Jul 2003 12:11:35 +0000 (12:11 +0000)]
More informix fixes.

21 years agoFix segfault in connect in informix mode.
Michael Meskes [Tue, 8 Jul 2003 07:13:48 +0000 (07:13 +0000)]
Fix segfault in connect in informix mode.

21 years ago"char *" of course is not the same as "char []". So I had to fix the way ecpg treated...
Michael Meskes [Mon, 7 Jul 2003 12:15:33 +0000 (12:15 +0000)]
"char *" of course is not the same as "char []". So I had to fix the way ecpg treated the second one.

21 years agotm2timestamp should return -1, not elog, on overflow. (In the backend
Tom Lane [Fri, 4 Jul 2003 18:21:14 +0000 (18:21 +0000)]
tm2timestamp should return -1, not elog, on overflow.  (In the backend
this is merely an API inconsistency, but in ecpg it's fatal.)  Also,
fix misconceived overflow test in HAVE_INT64_TIMESTAMP case.

21 years agoFix missing code for HAVE_INT64_TIMESTAMP.
Tom Lane [Fri, 4 Jul 2003 18:15:10 +0000 (18:15 +0000)]
Fix missing code for HAVE_INT64_TIMESTAMP.

21 years agoAdd --help-config facility to dump information about GUC parameters
Tom Lane [Fri, 4 Jul 2003 16:41:22 +0000 (16:41 +0000)]
Add --help-config facility to dump information about GUC parameters
without needing a running backend.  Reorder postgresql.conf.sample
to match new layout of runtime.sgml.  This commit re-adds work lost
in Wednesday's crash.

21 years agoAdd #include <limits.h> (re-add lost change from Wednesday).
Tom Lane [Fri, 4 Jul 2003 16:28:03 +0000 (16:28 +0000)]
Add #include <limits.h> (re-add lost change from Wednesday).

21 years agodate, interval and timestamp data should be quoted.
Michael Meskes [Fri, 4 Jul 2003 12:00:52 +0000 (12:00 +0000)]
date, interval and timestamp data should be quoted.

21 years agoFixed informix behaviour for select without into.
Michael Meskes [Fri, 4 Jul 2003 11:30:48 +0000 (11:30 +0000)]
Fixed informix behaviour for select without into.

21 years agoSome early work on error message editing. Operator-not-found and
Tom Lane [Fri, 4 Jul 2003 02:51:34 +0000 (02:51 +0000)]
Some early work on error message editing.  Operator-not-found and
function-not-found messages now distinguish the cases no-match and
ambiguous-match, and they follow the style guidelines too.

21 years agoFix bug I introduced in recent rewrite of NUMERIC code: numeric to
Tom Lane [Thu, 3 Jul 2003 19:41:47 +0000 (19:41 +0000)]
Fix bug I introduced in recent rewrite of NUMERIC code: numeric to
integer conversions gave the wrong answer for values with stripped
trailing zeroes, such as 10000000.

21 years agoDo honest transformation and preprocessing of LIMIT/OFFSET clauses,
Tom Lane [Thu, 3 Jul 2003 19:07:54 +0000 (19:07 +0000)]
Do honest transformation and preprocessing of LIMIT/OFFSET clauses,
instead of the former kluge whereby gram.y emitted already-transformed
expressions.  This is needed so that Params appearing in these clauses
actually work correctly.  I suppose some might claim that the side effect
of 'SELECT ... LIMIT 2+2' working is a new feature, but I say this is
a bug fix.

21 years agoCode review for UPDATE tab SET col = DEFAULT patch ... whack it around
Tom Lane [Thu, 3 Jul 2003 16:34:26 +0000 (16:34 +0000)]
Code review for UPDATE tab SET col = DEFAULT patch ... whack it around
so it has some chance of working in rules ...

21 years agoFixed initialization bug and added postgres_fe.h to pgtypeslib.
Michael Meskes [Wed, 2 Jul 2003 07:57:36 +0000 (07:57 +0000)]
Fixed initialization bug and added postgres_fe.h to pgtypeslib.

21 years agoSupport polymorphic functions in plpgsql. Along the way, replace
Tom Lane [Tue, 1 Jul 2003 21:47:09 +0000 (21:47 +0000)]
Support polymorphic functions in plpgsql.  Along the way, replace
linked-list search of function cache with hash-table lookup.
By Joe Conway.

21 years agoFix ecpg typo --- change ;; to ;.
Bruce Momjian [Tue, 1 Jul 2003 19:58:23 +0000 (19:58 +0000)]
Fix ecpg typo --- change ;; to ;.

21 years agoAggregates can be polymorphic, using polymorphic implementation functions.
Tom Lane [Tue, 1 Jul 2003 19:10:53 +0000 (19:10 +0000)]
Aggregates can be polymorphic, using polymorphic implementation functions.
It also works to create a non-polymorphic aggregate from polymorphic
functions, should you want to do that.  Regression test added, docs still
lacking.  By Joe Conway, with some kibitzing from Tom Lane.

21 years agoDept. of second thoughts: supporting inlining of polymorphic SQL functions
Tom Lane [Tue, 1 Jul 2003 19:07:02 +0000 (19:07 +0000)]
Dept. of second thoughts: supporting inlining of polymorphic SQL functions
takes only a few more lines of code than preventing it, so might as well
support it.

21 years agoFix documentation comment about restricted environments, per Kevin Jacobs.
Tom Lane [Tue, 1 Jul 2003 13:52:29 +0000 (13:52 +0000)]
Fix documentation comment about restricted environments, per Kevin Jacobs.

21 years agoSTRENGH => STRENGTH, per Jon Jensen.
Tom Lane [Tue, 1 Jul 2003 13:49:47 +0000 (13:49 +0000)]
STRENGH => STRENGTH, per Jon Jensen.

21 years agoUse ISO dates in pgtypeslib by default.
Michael Meskes [Tue, 1 Jul 2003 12:40:52 +0000 (12:40 +0000)]
Use ISO dates in pgtypeslib by default.
Applied patch by Philip Yarra to fix some thread issues.
Added a new data type "decimal" which is mostly the same as our
"numeric" but uses a fixed length array to store the digits. This is
for compatibility with Informix and maybe others.

21 years agoDepartment of second thoughts: even if we can't run the full parser on
Tom Lane [Tue, 1 Jul 2003 01:28:32 +0000 (01:28 +0000)]
Department of second thoughts: even if we can't run the full parser on
a SQL function with polymorphic inputs, we can at least run the raw
parser to catch silly syntactic errors.

21 years agoTranslation update
Peter Eisentraut [Tue, 1 Jul 2003 00:05:49 +0000 (00:05 +0000)]
Translation update

21 years agoSQL functions can have arguments and results declared ANYARRAY or
Tom Lane [Tue, 1 Jul 2003 00:04:39 +0000 (00:04 +0000)]
SQL functions can have arguments and results declared ANYARRAY or
ANYELEMENT.  The effect is to postpone typechecking of the function
body until runtime.  Documentation is still lacking.

Original patch by Joe Conway, modified to postpone type checking
by Tom Lane.

21 years agoChange EXECUTE INTO to CREATE TABLE AS EXECUTE.
Peter Eisentraut [Tue, 1 Jul 2003 00:04:31 +0000 (00:04 +0000)]
Change EXECUTE INTO to CREATE TABLE AS EXECUTE.

21 years agopatches by Kim Ho to fix
Dave Cramer [Mon, 30 Jun 2003 21:10:55 +0000 (21:10 +0000)]
patches by Kim Ho to fix
getByte, getSort if input has decimal or whitespace
setObject if object is a BIT
boolean not on list of SQLKeywords

21 years agoUpdate contrib/Makefile's list of subdirectories that it does not try
Tom Lane [Mon, 30 Jun 2003 20:02:53 +0000 (20:02 +0000)]
Update contrib/Makefile's list of subdirectories that it does not try
to build.

21 years agoPut back inappropriately-removed entry for earthdistance subdirectory.
Tom Lane [Mon, 30 Jun 2003 19:58:57 +0000 (19:58 +0000)]
Put back inappropriately-removed entry for earthdistance subdirectory.