Commit Graph

196 Commits

Author SHA1 Message Date
UbitUmarov
c786571c2f mantis 7341: change asset creatorid size to 128 on pgsql to match mysql 2021-11-20 19:32:39 +00:00
UbitUmarov
9b840f1f9e change the GetFallbackRegions sort code 2021-09-02 17:22:59 +01:00
Alicia Raven
a969797512 Allow estate config files to specify a specific EstateID. Defaults to 0 if not specified which uses auto increment id as current behaviour. 2020-12-15 17:05:30 +00:00
UbitUmarov
e894b4cafc update libomv and apply necessary related changes 2020-10-06 17:29:01 +01:00
UbitUmarov
6a2058e0ac there is no prim Omega, we call it angular velocity 2020-08-07 18:54:23 +01:00
UbitUmarov
b7750e52d6 lang env on PGSQL 2020-06-24 11:36:34 +01:00
UbitUmarov
e2be90caaf replace lightshare early work 2020-06-10 09:26:55 +01:00
UbitUmarov
0d76635113 do store a new flag on region db 2020-06-09 19:44:57 +01:00
UbitUmarov
0958eceadd store sop pseudocrc and region cacheID on PGSQL ( others later) 2020-03-28 01:31:00 +00:00
UbitUmarov
598ba5d6ae fix the dbs migrations 2020-01-23 11:14:12 +00:00
UbitUmarov
f61b83b1ea store the new variables on sqlite and pgsql ( could not test) 2020-01-23 10:47:09 +00:00
UbitUmarov
31aef4e82b work on previus 2 patchs 2019-11-14 06:34:44 +00:00
Terry
999a068172 Complete PostGres from previous commit - (Not Tested)
Signed-off-by: Terry <terry@digiworldz.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2019-11-14 05:28:57 +00:00
Terry
2f79f463ea Attempt to fix the issue where, when logging into the grid, the user supplies a region name, but instead of going to the specific region, they are sent to a region "Like" the one specified.
Signed-off-by: Terry <terry@digiworldz.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2019-11-14 05:26:54 +00:00
UbitUmarov
5bbaea50e4 groups v2: remove wrong filters on DB search 2019-10-13 18:52:33 +01:00
UbitUmarov
ab92dff5be a few changes to db generic tables 2019-08-26 03:00:28 +01:00
UbitUmarov
f7a496136d change PGSQL migration 2019-08-19 12:28:17 +01:00
UbitUmarov
d5db4b9d93 try to update PGSQL estateban 2019-08-18 20:24:19 +01:00
UbitUmarov
6ae1341c58 don't read from dbs wrong sound flags 2019-03-07 04:53:41 +00:00
UbitUmarov
33a062612f remove terraindata abstraction layer, since we only have heightmap type 2019-01-21 06:05:21 +00:00
UbitUmarov
4d3d9998a9 still pgsql 2018-12-28 23:16:05 +00:00
UbitUmarov
8d28c94879 PGSQL: it may be a good idea to also add the field to the table 2018-12-28 18:52:31 +00:00
UbitUmarov
650cef67d1 PGSQL: store vehicle data 2018-12-28 18:44:33 +00:00
UbitUmarov
fa78a6fd90 fix some odd sql queries ap not in use 2018-01-12 18:07:37 +00:00
UbitUmarov
f2b54c8cf9 mantis 8200: move changes in PGSQL from last commit to a new transaction (13) 2017-11-12 09:16:32 +00:00
TomTheDragon
6a75b7c65e PGSQL EstateStore create estate_settings_id SEQUENCE
Missing creation for estate_settings_id sequence causes first run
to fail unless manually added.

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-11-12 09:07:09 +00:00
TomTheDragon
56d2db3a18 Add a new experimental implementation of PGSQL FSAssets
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-11-03 05:10:37 +00:00
Geir Nøklebye
8f9256ea1c PGSQL: Another missing cast in XInventoryData
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-22 16:24:52 +01:00
UbitUmarov
dd0269df48 fix passcollisions bool value on store 2017-05-13 17:22:56 +01:00
Geir Nøklebye
7cf82a71d6 PGSQL: Convert PassCollision in table prims to bool to avoid a hopeless cast that fails with newer versions of NPGSQL.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-13 17:15:47 +01:00
Geir Nøklebye
03a38a80ab PGSQL: Rewrote EstateStore.migrations as it errored out in version 8 leaving the database without any estate tables on first run. It also lacked primary keys on estate_map and estate_settings. Syntax requires Postgresql 9.5 or higher.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-09 12:00:45 +01:00
Geir Nøklebye
d952d62baa PGSQL: Add missing AgentPrefs.migrations
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-08 20:25:03 +01:00
UbitUmarov
54eb6fc779 GZipStream does have a CopyTo() 2017-05-06 18:25:07 +01:00
UbitUmarov
eb93855d84 dispose some MemoryStreams 2017-05-06 17:47:43 +01:00
Geir Nøklebye
ebcfad1a83 store the physics inertia override in the database
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-04-20 21:21:23 +01:00
Geir Nøklebye
28125202cc update for The new Constant: integer OBJECT_REZZER_KEY = 32 + adding missing support for fields in the prims table.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2017-04-19 14:04:54 -04:00
Geir Nøklebye
fe83763c36 PGSQL: Fixed a failing query in GroupsData for deleting groups messages older than 14 days. The little known abstime function could be used for a double cast. The field TMStamp should be changed to store the data as a proper timestamp. Related to Mantis #7848. Usually this would easily be solved using the to_timestamp function, but there is no support for it in NPGSQL as there are no very close functionality in .NET
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2017-04-19 13:40:49 -04:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Geir Nøklebye
af93822465 PGSQL fixed a missing cast to uuid in XInventoryData
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2017-01-04 21:18:58 +00:00
UbitUmarov
29f6e3fc7b fix a typo in dbs region range 2016-12-01 04:08:42 +00:00
UbitUmarov
5202ae7bb4 revert changes to asset desc size, my bad.. this field will possible go away in future 2016-11-24 14:39:08 +00:00
UbitUmarov
7524c7729f change asset description max size 2016-11-22 01:34:07 +00:00
UbitUmarov
d1baa3e0c3 fix some invalid string.format arguments 2016-11-09 22:39:52 +00:00
UbitUmarov
71bd3ce49f add load baked terrain methods 2016-09-17 16:42:40 +01:00
UbitUmarov
3f9f105295 add to databases a table to store baked terrain. 2016-09-17 15:45:11 +01:00
UbitUmarov
5d5bad5fc1 workaround potencial memory leaks 2016-08-22 06:03:39 +01:00
Geir Nøklebye
653b896794 PGSQL: Update simulation data with a number of missing fields for parcels. Some of the fields should probably be migrated to type Boolean to avoid the hairy casting in the query. In addition the overall server code relies in the Replace in SQL statement that is proprietary to MySQL, so the PGSQL code is rather unsafe as it is. Should probably set a transaction on the whole operation so that if something goes wrong the database record is not zapped as it is now. PostgreSQL 9.5 has the upsert functionality which would bring the code closer to the MySQL version. This commit also has an update to PGSQLRegionData
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-07-15 15:45:39 +01:00
Geir Nøklebye
7aa3d4256e POSTGRES: Update database migrations to be in accordance with MySQL table definitions. Prerequisite for fixing PGSQLSimulationdata
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>  (mantis #7846)
2016-04-25 12:17:17 -04:00
Geir Nøklebye
b418033915 Updated the code to handle Agent Preferences. Thanks to TomDataworks for providing a final solution.
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>  (mantis #7610)
2016-04-25 12:15:34 -04:00
TomDataworks
e9b0f71575 Fix Mantis #7805, table handler needs to look for all unique constraints.
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>
2016-04-25 12:11:03 -04:00