Script 2.2.4.8 and 2.2.4.9 POSTGRESQLT

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/11/2008 5:12:27 AM
Gravatar
Total Posts 6

Script 2.2.4.8 and 2.2.4.9 POSTGRESQLT

here are some problems in script 2.2.4.8 and 2.2.4.9 executed upgrading DB Postgresql.

Problems are dropping some Primary keys.

We have corrected scripts but we are not sure that are the correct scripts.

Thanks

Wiz

3/11/2008 8:14:41 PM
Gravatar
Total Posts 18439

Re: Script 2.2.4.8 and 2.2.4.9 POSTGRESQLT

Hi,

If you were able to get past the errors by editing the scripts I think you'll be ok. If you look at your tables you will see the do have primary keys.

The problem was that the original implementation just used unique contraints which are effectively the same thing as primary keys (in postgre sql) but for using SubSonic, since they weren't created as primary keys they could not be looked up in the schema effectively so the script was designed to drop the unique contraints and re-create them as primary keys but depending on what version you started with some of the unique contraints were not named the same which is what caused the script errors you saw. It really doesn't hurt anything if they weren't dropped as it still would create the primary key, its just that you possibly still have some redundant unique constraints.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.