| From: | David Blomstrom <david(dot)blomstrom(at)gmail(dot)com> |
|---|---|
| To: | Rob Sargent <robjsargent(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Hierarchical Query Question (PHP) |
| Date: | 2015-10-30 22:45:46 |
| Message-ID: | CAA54Z0gDKOC3bNNHJXY5Mm8aWCbPV6M8qOUNY_CnPGzNiKWL3w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Yes, I guess it does make sense to keep a copy of your actions.
In the meantime, I now have two new tables with the following schema:
-- Table: public.taxon
-- DROP TABLE public.taxon;
CREATE TABLE public.taxon
(
taxonid integer NOT NULL DEFAULT nextval('taxon_taxonid_seq'::regclass),
descr text
)
WITH (
OIDS=FALSE
);
ALTER TABLE public.taxon
OWNER TO postgres;
* * * * *
-- Table: public.gz_life_mammals
-- DROP TABLE public.gz_life_mammals;
CREATE TABLE public.gz_life_mammals
(
id integer NOT NULL DEFAULT nextval('gz_life_mammalsx_id_seq'::regclass),
taxonid integer,
parentid integer
)
WITH (
OIDS=FALSE
);
ALTER TABLE public.gz_life_mammals
OWNER TO postgres;
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Blomstrom | 2015-10-30 22:55:10 | Re: Hierarchical Query Question (PHP) |
| Previous Message | Rob Sargent | 2015-10-30 22:42:20 | Re: Hierarchical Query Question (PHP) |