Re: [HACKERS] magic constant -1

2009-11-05 Thread Pavel Stehule
2009/11/5 Tom Lane : > Pavel Stehule writes: >> we use a value -1 as two values: a) unknown typmod, b) unknown >> location. Can we substitute it by some better identifier? > >> Maybe: UnknownTmod, UnknownLoc ... UnspecTmd, UnspecLoc??? > > Doesn't really seem worth the trouble, especially since th

Re: [HACKERS] magic constant -1

2009-11-05 Thread Tom Lane
Pavel Stehule writes: > we use a value -1 as two values: a) unknown typmod, b) unknown > location. Can we substitute it by some better identifier? > Maybe: UnknownTmod, UnknownLoc ... UnspecTmd, UnspecLoc??? Doesn't really seem worth the trouble, especially since the checks for "unspecified" are

[HACKERS] magic constant -1

2009-11-05 Thread Pavel Stehule
Hello, we use a value -1 as two values: a) unknown typmod, b) unknown location. Can we substitute it by some better identifier? Maybe: UnknownTmod, UnknownLoc ... UnspecTmd, UnspecLoc??? Regards Pavel Stehule -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes