Commit Graph

19 Commits

Author SHA1 Message Date
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