Search Postgresql Archives

Re: script errors or PEBKAC?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would check the order in which things are being created in your process.

What I usually do is create all the tables sans indexing or constraints (except primary key).  Once the table are done, load the data in to the tables that need to be populated.  Then constraints, triggers and then indexes.  But, hey, that is just me.  One thing, make sure you know your data.  I mean if you are adding new (not before used on the data) unique indexes, make sure the loaded data will support that uniqueness.

Just 2 cents.
Michael

> From: hawat.thufir@xxxxxxxxx
> To: pgsql-general@xxxxxxxxxxxxxx
> Date: Fri, 4 Mar 2011 07:48:04 -0800
>
> I cannot get the script here:
>
> https://docs.google.com/leaf?id=0B5hKxkS1VyAxOGMzZjY4ZjktZjZkOS00Zjc3LWExYmEtYTU3ZThjYzZiMjk3&hl=en
>
> to run correctly. Looking at the output, many, many, errors, it seems
> to assume tables exist which don't. Is that correct?
>
> The script is supposed to create a database, but it seems to assume that
> the schema is already there and configured?
>
> Or, maybe I'm not running it correctly?
>
>
> thanks,
>
> Thufir
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux