Commit Graph

1907 Commits

Author SHA1 Message Date
Tom Lane
a056f14be0 Cause plpgsql's PERFORM to behave according to its documentation,
which says that PERFORM will execute any SELECT query and discard the
result.  The former implementation would in fact raise an error if the
result contained more than one row or more than one column.

Also, change plpgsql's error-logging mechanism to emit the additional
messages about error location at NOTICE rather than DEBUG level.  This
allows them to be seen by the client without having to dig into the
postmaster log file (which may be nonexistent or inaccessible by the
client).
2001-05-28 19:33:24 +00:00
Peter Eisentraut
3fdfce6839 markup fix 2001-05-28 14:58:58 +00:00
Bruce Momjian
411d7e4278 Update TODO list. 2001-05-28 04:28:36 +00:00
Bruce Momjian
32762facf6 Sample output that appears below the table attributes for \d:
Indicies: palm_buy_date_idx
          palm_user_date_idx
Primary Key: palm_buyers_pkey
Unique Key: palm_buyers_username
Constraint: "$1" ((sex = 'M'::bpchar) OR (sex = 'F'::bpchar))

Note that check constraint name now shown as well.  (Makes it a lot easier
to test inheritance support in ADD/DROP constraint :) )

Attached is a docs change for psql.

Christopher Kings
2001-05-28 04:27:17 +00:00
Bruce Momjian
a001f13506 Update TODO list. 2001-05-27 16:31:30 +00:00
Peter Eisentraut
96147a6d1c Make UPDATE and DELETE privileges distinct. Add REFERENCES and TRIGGER
privileges.  INSERT and COPY FROM now require INSERT (only).  Add
privileges regression test.
2001-05-27 09:59:30 +00:00
Bruce Momjian
f6923ff3ac Oops, only wanted python change in the last commit. Backing out. 2001-05-25 15:45:34 +00:00
Bruce Momjian
dffb673692 While changing Cygwin Python to build its core as a DLL (like Win32
Python) to support shared extension modules, I have learned that Guido
prefers the style of the attached patch to solve the above problem.
I feel that this solution is particularly appropriate in this case
because the following:

    PglargeType
    PgType
    PgQueryType

are already being handled in the way that I am proposing for PgSourceType.

Jason Tishler
2001-05-25 15:34:50 +00:00
Bruce Momjian
f36fc7bb63 I haven't tried building postgres with the Watcom compiler for 7.1 because
it does not support 64bit integers. AFAIK that's the default data type for
OIDs, so I am not surprised that this does not work. Use gcc instead.
BTW., 7.1 does not compile as is with gcc either, I believed the
required patches made it into the 7.1.1 release but obviously I missed
the deadline.
Since the ports mailing list does not seem to be archived I have attached
a copy of the patch (for 7.1 and 7.1.1).

I've just performed a build of a Watcom compiled version and found a couple
of bugs in the watcom specific part of that patch. Please use the attached
version instead.

Tegge, Bernd
2001-05-24 15:53:34 +00:00
Bruce Momjian
23287c106d Update TODO list. 2001-05-24 14:36:31 +00:00
Peter Eisentraut
444c5bf1b2 SQL function bit_length 2001-05-24 09:29:29 +00:00
Bruce Momjian
371a04fccf Update TODO list. 2001-05-23 16:02:55 +00:00
Bruce Momjian
02f4ee1a81 Update TODO list. 2001-05-23 00:42:25 +00:00
Bruce Momjian
50bad5ed41 Update FAQ. 2001-05-22 21:50:34 +00:00
Bruce Momjian
ef4893e605 Update TODO list. 2001-05-22 19:38:22 +00:00
Peter Eisentraut
efcecd9eca Make bit and bit varying types reject too long input. (They already tried
to do that, but inconsistently.)  Make bit type reject too short input,
too, per SQL.  Since it no longer zero pads, 'zpbit*' has been renamed to
'bit*' in the source, hence initdb.
2001-05-22 16:37:17 +00:00
Peter Eisentraut
c84c3d8fea more indices -> indexes 2001-05-22 16:00:00 +00:00
Bruce Momjian
fdf067c108 ELSEIF PL/PgSQL doc patch.
Klaus Reger
2001-05-22 13:52:27 +00:00
Bruce Momjian
e6ba9213a2 Update TODO list. 2001-05-22 13:20:46 +00:00
Bruce Momjian
73f357bcc3 Update TODO list. 2001-05-22 12:10:50 +00:00
Bruce Momjian
476cbabcb6 Update TODO list. 2001-05-22 01:35:25 +00:00
Bruce Momjian
66e9ee79c7 Print error on SELECT tab FROM tab:
You can't use relation names alone in the target list, try relation.*
2001-05-21 18:42:08 +00:00
Bruce Momjian
984bf07a65 Update TODO list. 2001-05-21 18:36:58 +00:00
Peter Eisentraut
5546ec289b Make char(n) and varchar(n) types raise an error if the inserted string is
too long.  While I was adjusting the regression tests I moved the array
things all into array.sql, to make things more manageable.
2001-05-21 16:54:46 +00:00
Bruce Momjian
5d53389cfe Update TODO list. 2001-05-20 01:11:48 +00:00
Peter Eisentraut
cb8b40e6d5 Allow special '$libdir' macro to show up in object file path in CREATE
FUNCTION command.  Guard against trying to load a directory.  Update
documentation some.
2001-05-19 09:01:10 +00:00
Bruce Momjian
3da29a8b4b Update TODO list. 2001-05-18 16:28:12 +00:00
Bruce Momjian
d220d3482d Update TODO list. 2001-05-18 15:18:55 +00:00
Bruce Momjian
1bb13716ec Update TODO list. 2001-05-18 14:39:54 +00:00
Bruce Momjian
edf829aa1c Update TODO list. 2001-05-17 22:07:21 +00:00
Peter Eisentraut
a6677f0f9e Change "indices" to "indexes", per OED. 2001-05-17 21:50:18 +00:00
Peter Eisentraut
f000ffd28e Add -U and -W options to pg_dump and friends to support non-interactive
specification of username (like in psql).  pg_dumpall now works with
password authentication.
2001-05-17 21:12:49 +00:00
Peter Eisentraut
761a0bb69b Add dynamic_library_path parameter and automatic appending of shared
library extension.
2001-05-17 17:44:18 +00:00
Bruce Momjian
e4f2bea7fb Add HISTORY items for 7.1.2. 2001-05-17 13:28:30 +00:00
Bruce Momjian
1ef5c99c85 Fix 'make clean' with jdbc and ant by using filesets. 2001-05-17 03:22:53 +00:00
Bruce Momjian
b350b52139 Update TODO list. 2001-05-17 00:10:08 +00:00
Bruce Momjian
2cc332002f Update TODO list. 2001-05-17 00:08:38 +00:00
Bruce Momjian
ae38a1f556 Update TODO list. 2001-05-16 20:18:25 +00:00
Bruce Momjian
3848a14ed7 redo record -> undo record, Tom Lane. 2001-05-15 13:57:37 +00:00
Bruce Momjian
83966889ed Update TODO list. 2001-05-14 20:30:38 +00:00
Bruce Momjian
1e7b79cebc Remove unused tables pg_variable, pg_inheritproc, pg_ipl tables. Initdb
forced.
2001-05-14 20:30:21 +00:00
Bruce Momjian
7d802e07a7 Fix 'set path' for csh. 2001-05-14 16:16:52 +00:00
Bruce Momjian
21e3848d20 Update TODO list. 2001-05-13 02:19:58 +00:00
Bruce Momjian
911a498176 Update TODO list. 2001-05-13 01:05:34 +00:00
Peter Eisentraut
01839df6dd Add index. Only some parts of the manual set have index entries so far... 2001-05-12 22:51:36 +00:00
Peter Eisentraut
b3f66d1980 Add command '\pset footer' to psql to turn off default "(x rows)" footer. 2001-05-12 19:44:46 +00:00
Peter Eisentraut
bbc3920fe9 PL/Python should build portably now, if you can get over the fact that
there's no shared libpython.  Test suite works as well. Also, add some
documentation.
2001-05-12 17:49:32 +00:00
Peter Eisentraut
7a76e29b0e no more Andy Piper tools 2001-05-11 22:27:12 +00:00
Tom Lane
0ad9abe72e Improve discussion of %TYPE and %ROWTYPE. 2001-05-11 06:10:44 +00:00
Bruce Momjian
54d9099596 Stamp CVS as 7.2. Update all interface version numbers. This is the
time to do it, not during beta because people are using this stuff in
production sometimes.
2001-05-11 01:46:33 +00:00