View Single Post

   
  #8 (permalink)  
Old 05-07-2008, 10:18 AM
Dimitri Fontaine
 
Posts: n/a
Default Re: alter + preserving dependencies

Le mercredi 07 mai 2008, Dimitri Fontaine a écrit*:
> Ok, I've been quite bad at explaining the case, let's retry.


Thanks a lot to the OP on #postgresqlfr (nickname renchap), who is providing
attached test case, where you'll see how we hacked our way into
information_schema to have the insert rule insert DEFAULT instead of NULL.

Of course the OP loses here the option to error out on NULL input, but the
application is being ported from MySQL so he's not losing any feature here.

Regards,
--
dim

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIIXDllBXRlnbh1bkRAp/aAJ0aqpt5Hb6gBLe+P1OzpEbAfgZQOwCeJ4cM
7Ux//9j0Vr2EhEkBKDScPy0=
=EVf8
-----END PGP SIGNATURE-----

Reply With Quote