Ralf Becker
39c7cc14da
fixed (hopefully last) postgres problem with the indices: sequences have not been set, after the data was inserted into the newly created table
2004-07-02 22:12:10 +00:00
Ralf Becker
fcfcaa578e
removed php4.3+ print_r($arr,True)
2004-07-02 09:51:21 +00:00
Ralf Becker
6a4447b62e
fixed RenameTable to also rename indices and not only primary keys
2004-06-27 09:52:06 +00:00
Ralf Becker
1b60e0f309
fixed droping of non-existing primary keys
2004-05-30 11:18:47 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Carsten Wolff
e9c2659778
we can not trust in the right order of columns
2004-04-30 23:07:03 +00:00
Carsten Wolff
20ee4f1d27
fixed rename_table() in schema_proc_pgsql, wich was relying on index_names() and therefore was broken with ADODB.
2004-04-25 22:58:37 +00:00
Miles Lott
2211a5aa63
Oops - comment out debug
2004-03-05 13:54:19 +00:00
Miles Lott
05fb371651
Add sql from phppgadmin for finding indexes on pg < 7.3
2004-03-05 13:32:00 +00:00
Miles Lott
978c0e6869
Add bool type from latest schema_proc from dcl
2004-02-24 21:32:20 +00:00
Carsten Wolff
1c8e2629c5
bytea is the blob-equivalent in PostgreSQL
2004-02-23 20:11:23 +00:00
Miles Lott
df41d8f9c4
remove while loop since there should be only one record
2004-02-08 22:12:00 +00:00
Miles Lott
876d87227f
try to not error on the index checking query
2004-02-08 21:58:13 +00:00
Miles Lott
f4e41b1e63
Make index query slightly more efficient, trim index fieldnames
2004-02-08 21:53:00 +00:00
Miles Lott
649b7a9fd8
Hack in display of index values in sqltoarray.php (setup);
2004-02-08 21:49:52 +00:00
Ralf Becker
5ee6f04fd0
fix for update-bug: NULL values where written back as '', which is not ok for int-columns
2004-02-08 20:59:32 +00:00
shrykedude
9e0d88fd69
fix for changing non-nullable fields in postgres
2004-01-25 06:40:59 +00:00
Miles Lott
82e79812d3
This might fix the index creation error - will be testing asap.
2003-12-23 13:54:45 +00:00
Miles Lott
3c12d529f8
Modifed GetIXSQL routines to actually return valid index SQL for postgresql; This needs to be tested further, but does appear to work.
2003-12-17 13:58:02 +00:00
Miles Lott
6674d23cd1
See line 218 - possible fix for DropColumn() to ensure dropped column name is not in the sql
2003-12-17 12:54:17 +00:00
Ralf Becker
8d2c4bb7a3
fixed schemaproc to create indexes and enhanced syntax to create multicolum indexes and unique keys
2003-10-21 18:09:58 +00:00
Ralf Becker
ad1a0a1cb3
fixed schema_proc for pgSql to properly rename a table, if forgot to rename the index
2003-04-30 11:07:24 +00:00
Ralf Becker
556680d7f8
fix for 2 pgSql bugs:
...
- if a table get droped (eg. uninstall an app) the sequenz got not droped, which leads to complains of pgSql if you tried to reinstall the table/app
- _CopyAlteredTable (which is used by AlterColumn) uses a 'SELECT * ' and then the $db->f(0|1|2) which leads to errors when the column-order is not as expected
2003-03-22 01:28:48 +00:00
Ralf Becker
027cfe7207
fix for postgreSql's AddColumn, to allow to set a default and a not null contraint, they are not allowed in add column in pgSQL
2003-03-18 00:07:17 +00:00
skeeter
33267908d2
Fixes for a deprecated call by reference.
2002-04-11 14:12:34 +00:00
Miles Lott
bb762ae965
Use in_array()
2002-03-08 04:10:58 +00:00
Miles Lott
ca9651d890
Moving schema_proc classes to the api
2002-03-03 21:48:34 +00:00