1 Oct 2002 01:13
composite types in 7.3
Jeff Davis <list-pgsql-general <at> empires.org>
2002-09-30 23:13:08 GMT
2002-09-30 23:13:08 GMT
I tried: test=> create type mytype as (a int, b text); CREATE TYPE test=> create table mytable(x mytype,y int); CREATE TABLE It seemed to succeed OK, but did I do anything worthwhile? Since composite functions don't have input/output functions, I don't know how to actually create a record in mytable. Are composite functions supposed to be used in this way? I know that composite types can be used so that a function can return a record of that type, but is there any other use? Regards, Jeff ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo <at> postgresql.org
.
Apparently, asking not to crash overrides the default error handler
that prints the useful error message before crashing.
I applied the patch anyway, since a backend crash is considerably more
Not Acceptable than not telling you why the shlib can't be loaded.
But getting the error message too would be much better. Apparently,
if we want the message too, we have to create a 'linkEdit' hook to print
it --- see
:
just click to old PG RPM, select usr/bin, then copy postmaster and
pg_dumpall to your home directory.
Start old postmaster, then run pg_dumpall >somefile, stop postmaster (just
do killall postmaster). That's all.
You'd start the new PG and do psql -f somefile...
RSS Feed