Robert Haas wrote:
If superusers DON'T exist, that would be making the opposite
statement, namely, that there isn't ANY WAY to get a backup that you
can be sure DOES contain all of the objects.
The traditional approach would be to maintain multiple physically
separate databases; in this setup it
Sam Mason wrote:
On Sat, Jul 25, 2009 at 04:39:29PM -0400, Robert Haas wrote:
On Sat, Jul 25, 2009 at 4:27 PM, Sam Mason wrote:
I thought the whole point of MAC was that superusers don't exist any
more--at least not with the power they currently do.
It's been billed that way, but it's not real
Hi,
I sending a little bit modified version - I removed my forgotten
comment in gram.y
Regards
Pavel
2009/7/25 Pavel Stehule :
> Hello,
>
> fixed patch attached + more regress tests.
>
> Regards
> Pavel Stehule
>
>
> 2009/7/23 Pavel Stehule :
>> 2009/7/23 Bernd Helmle :
>>> --On Donnerstag, März
On Sat, Jul 25, 2009 at 11:38 PM, Pavel Stehule wrote:
> Hello
>
> 2009/7/25 Robert Haas :
>> On Mon, Apr 20, 2009 at 8:45 AM, Pavel Stehule
>> wrote:
>>> 2009/4/18 Tom Lane :
Pavel Stehule writes:
> 2009/4/11 Tom Lane :
>> No, I was complaining that a hook right there is useless and
On Sat, Jul 25, 2009 at 7:49 PM, Sam Mason wrote:
> On Sat, Jul 25, 2009 at 04:39:29PM -0400, Robert Haas wrote:
>> On Sat, Jul 25, 2009 at 4:27 PM, Sam Mason wrote:
>> > I thought the whole point of MAC was that superusers don't exist any
>> > more--at least not with the power they currently do.
>
Robert Haas wrote:
On Sat, Jul 25, 2009 at 11:27 PM, KaiGai Kohei wrote:
| Access control is conceptually to decide a set of allowed (or denied)
| actions between a certain subject (such as a database client) and an
| object (such as a table), and to apply the decision on user's requests.
| At t
Hello
2009/7/25 Robert Haas :
> On Mon, Apr 20, 2009 at 8:45 AM, Pavel Stehule wrote:
>> 2009/4/18 Tom Lane :
>>> Pavel Stehule writes:
2009/4/11 Tom Lane :
> No, I was complaining that a hook right there is useless and expensive.
> transformExpr() is executed multiple times per quer
On Sat, Jul 25, 2009 at 11:27 PM, KaiGai Kohei wrote:
> | Access control is conceptually to decide a set of allowed (or denied)
> | actions between a certain subject (such as a database client) and an
> | object (such as a table), and to apply the decision on user's requests.
> | At the database pr
Sam Mason wrote:
On Sat, Jul 25, 2009 at 09:50:08PM +0900, KaiGai Kohei wrote:
Sorry for using the undefined terminology.
I think this is the largest missing part of the docs at the moment;
there is a whole new world of definitions that need to be understood
before the SE-PG stuff is understan
Hi Sergey,
On Tuesday 14 July 2009 21:35:28 Sergey V. Karpov wrote:
> attached is a simple patch that extends the functionality of dict_xsyn
> extended synonym dictionary (from contrib) by adding the following
> configuration option:
>
> - "mode" option controls the current dictionary mode of oper
On Sat, Jul 25, 2009 at 6:40 PM, Tom Lane wrote:
> I'm not nearly as excited about migrating all or even most of, say,
> the pg_proc DATA lines into SQL. That simply isn't going to buy very
> much in maintainability --- a patch that wants to add a new property
> to all the functions is going to co
All,
A few hours ago I assigned a reviewer to the last patch for this
CommitFest which still lacked one, with the exception of Heikki's
index-only quals patch, which I'm not sure can be reviewed at this
point because it depends on the indexam API changes patch, which is
still up in the air. One t
On Sat, Jul 25, 2009 at 08:41:12PM -0400, Robert Haas wrote:
> On Sat, Jul 25, 2009 at 8:39 PM, Joshua Tolley wrote:
> > On Sun, Jul 19, 2009 at 06:13:32PM +0200, Petr Jelinek wrote:
> >> while writing some basic docs I found bug in dependency handling when
> >> doing SET on object type that alread
On Sat, Jul 25, 2009 at 8:39 PM, Joshua Tolley wrote:
> On Sun, Jul 19, 2009 at 06:13:32PM +0200, Petr Jelinek wrote:
>> while writing some basic docs I found bug in dependency handling when
>> doing SET on object type that already had some default privileges.
>> Attached patch fixes it, it also fi
On Sat, Jul 25, 2009 at 11:42:04AM -0500, Kevin Grittner wrote:
> Sam Mason wrote:
> > In this dichotomy a NULL is most definitely a value and with my
> > current experience I don't understand the distinction you're trying
> > to draw.
>
> There can be a place where a value *could* go which doe
On Sun, Jul 19, 2009 at 06:13:32PM +0200, Petr Jelinek wrote:
> while writing some basic docs I found bug in dependency handling when
> doing SET on object type that already had some default privileges.
> Attached patch fixes it, it also fixes thinko in parser (DROPing GRANT
> OPTION behaves
On Sat, Jul 25, 2009 at 7:45 PM, Joshua Tolley wrote:
> that I wouldn't know what I was talking about. In the meantime, I think this
> one is ready to be marked as ... something else. Ready for committer?
Sounds right to me.
...Robert
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgr
On Sat, Jul 25, 2009 at 04:39:29PM -0400, Robert Haas wrote:
> On Sat, Jul 25, 2009 at 4:27 PM, Sam Mason wrote:
> > I thought the whole point of MAC was that superusers don't exist any
> > more--at least not with the power they currently do.
>
> It's been billed that way, but it's not really accu
On Sat, Jul 25, 2009 at 03:50:06PM -0400, Andrew Dunstan wrote:
> Joshua Tolley wrote:
>> I figured as much. I can't seem to get past this, despite a make distclean.
>> Suggestions, anyone?
>>
> try a fresh checkout and reapply the patch?
[ a couple git clean, git reset, make clean, etc. commands
On Jul 25, 2009, at 9:42 AM, Kevin Grittner wrote:
I know that Codd was insistent that any relation (which included the
result of any query) which could contain duplicate rows should be
called a "corrupted relation". (In fact, in one of his books I think
he averaged a comment on this point abou
On Jul 25, 2009, at 9:24 AM, Jeff Davis wrote:
I don't think you want the "NOT x IS NULL" part at all -- that will
evaluate to false when x = rec(NULL,NULL). I think you just want the
"x
IS DISTINCT FROM NULL" part, right? Will that work?
Nope, infinite loop when because `ROW(null, null)` a
[ dept. of second thoughts ]
I wrote:
> It's easy to make that claim, much less easy to actually do it.
Reflecting on this a bit more ... it seems to me that it's not the right
thing to set the goal as "try to get rid of as many DATA statements as
possible". The right way to think about this is
Greg Stark writes:
> Move a lot of those DATA lines to SQL initdb scripts. Virtually all of
> pg_proc, pg_operator, pg_opclass, pg_opfamily, pg_cast, etc can be
> initialized using SQL. Hardly any of the records in there are needed
> for bootstrapping.
It's easy to make that claim, much less easy
Robert Haas writes:
> I think we should apply the same criteria to this that we
> have to some other patches that have been rejected (like the
> extensible-rmgr patch Simon submitted for CommitFest 2008-11), namely,
> requiring that the extension mechanism be submitted together with at
> least two
On Sat, Jul 25, 2009 at 9:17 PM, Robert Haas wrote:
> Of course, fixing the Anum and
> Natts declarations does not come close to fixing this problem: for
> catalogs that are initialized with any data at bootstrap time, the
> DATA() lines are a much bigger issue, but fixing that is going to
> requir
On Tue, Jul 21, 2009 at 2:37 AM, Pavan Deolasee wrote:
> On Tue, Jul 21, 2009 at 10:38 AM, Robert Haas wrote:
>> Pavan, are you planning to respond to Alex's comments and/or update this
>> patch?
>
> Yes, I will. Hopefully by end of this week.
Since it has now been 10 days since this patch was r
On Sat, Jul 25, 2009 at 11:41 AM, Tom Lane wrote:
> Robert Haas writes:
>> On Fri, Jul 24, 2009 at 7:21 PM, Tom Lane wrote:
>>> I think you should just submit this with the code that uses it, so we
>>> can evaluate whether the overall concept is a good one or not.
>
>> This was split out from Sync
On Sat, Jul 25, 2009 at 4:38 PM, Jaime
Casanova wrote:
> On Wed, Jun 24, 2009 at 4:51 AM, Boszormenyi Zoltan wrote:
>> Hi,
>>
>> attached is our latest patch extending ECPG:
>>
>
> haven't tested this nor reviewed the code in detail, just some little
> questions:
>
> 1) This is in /src/interfaces/
Robert Haas writes:
> On Sat, Jul 25, 2009 at 10:56 AM, Tom Lane wrote:
>> I didn't realize this change was intending to throw all the Anum_
>> constants into a single header file. I am strongly against that
>> on namespace pollution grounds,
> I don't really understand this objection.
It's for
On Wed, Jun 24, 2009 at 4:51 AM, Boszormenyi Zoltan wrote:
> Hi,
>
> attached is our latest patch extending ECPG:
>
haven't tested this nor reviewed the code in detail, just some little questions:
1) This is in /src/interfaces/ecpg/ecpglib/sqlda.c, and doesn't seems
something we want in our files
On Mon, Apr 20, 2009 at 8:45 AM, Pavel Stehule wrote:
> 2009/4/18 Tom Lane :
>> Pavel Stehule writes:
>>> 2009/4/11 Tom Lane :
No, I was complaining that a hook right there is useless and expensive.
transformExpr() is executed multiple times per query, potentially a very
large numbe
--On Samstag, Juli 25, 2009 16:00:18 +0300 Peter Eisentraut
wrote:
When you run a file with psql -1/--single-transaction, and a command
fails, you get bombarded with
ERROR: current transaction is aborted, commands ignored until end of
transaction block
for the rest of the file.
Shouldn't
On Sat, Jul 25, 2009 at 4:27 PM, Sam Mason wrote:
> On Sat, Jul 25, 2009 at 11:06:37AM -0400, Tom Lane wrote:
>> There had better still be superusers. Or do you want the correctness
>> of your backups to depend on whether your SELinux policy is correct?
>
> I thought the whole point of MAC was tha
On Sat, Jul 25, 2009 at 11:06:37AM -0400, Tom Lane wrote:
> There had better still be superusers. Or do you want the correctness
> of your backups to depend on whether your SELinux policy is correct?
I thought the whole point of MAC was that superusers don't exist any
more--at least not with the
On Sat, Jul 25, 2009 at 10:56 AM, Tom Lane wrote:
> Robert Haas writes:
>> On Sat, Jul 25, 2009 at 3:21 AM, Peter Eisentraut wrote:
>>> I think a less invasive change would be to include anum.h into all the
>>> catalog/pg_*.h headers, so that the external interface stays the same.
>
>> Gah. I wis
On Sat, Jul 25, 2009 at 09:50:08PM +0900, KaiGai Kohei wrote:
> Sorry for using the undefined terminology.
I think this is the largest missing part of the docs at the moment;
there is a whole new world of definitions that need to be understood
before the SE-PG stuff is understandable/usable by any
On Sat, Jul 25, 2009 at 2:26 PM, Greg Stark wrote:
>
> more complex examples would trigger it naturally such as:
>
> select * from partitioned_table where active order by indexed_column
> (with an index on indexed_column where active)
>
> or
>
> select * from partitioned_table where indexed_column
Joshua Tolley wrote:
I figured as much. I can't seem to get past this, despite a make distclean.
Suggestions, anyone?
try a fresh checkout and reapply the patch?
cheers
andrew
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
h
On Sat, Jul 25, 2009 at 8:12 PM, Jaime
Casanova wrote:
> i was trying to test this one but i can't find a query that produces a
> diferent plan than in 8.4.0, attached my current test just in case...
> what kind of query is this intended to help?
You may have to disable enable_seqscan to get simpl
On Sat, Jul 25, 2009 at 11:14:19AM +0200, Petr Jelinek wrote:
> Joshua Tolley wrote:
>> Am I the only one that gets this on make check, with this version (from
>> src/test/regress/log/initdb.log):
>>
>> selecting default shared_buffers ... 32MB
>> creating configuration files ... ok
>> creating tem
On Sun, Jul 5, 2009 at 7:23 PM, Greg Stark wrote:
>>>
>>> Here's a copy of the merge-append patch that I sent months ago merged up to
>>> head. I haven't really added any additional functionality since then.
>>
>> Can you provide some more details about the objective of this patch? Or a
>> link to
Hello,
fixed patch attached + more regress tests.
Regards
Pavel Stehule
2009/7/23 Pavel Stehule :
> 2009/7/23 Bernd Helmle :
>> --On Donnerstag, März 05, 2009 08:41:28 +0100 Pavel Stehule
>> wrote:
>>
>>> Hello
>>>
>>> I did some cleaning on this feature, and I hope so I solve some Tom's
>>> o
Pavel Stehule writes:
> 2009/7/25 Tom Lane :
>> There already is a definition for what string_to_array does with an
>> empty field separator, and that is not it.
> I thing, so nobody use empty separator in string_to_array, because it
> does nothing useful.
According to you, maybe not. But perha
2009/7/25 Tom Lane :
> Pavel Stehule writes:
>> I have one idea, that should simplify string to char array
>> transformation. The base is idea: between every char is empty string,
>> so empty string is regular separator for string_to_array function.
>
> There already is a definition for what strin
m...@postgresql.org (Magnus Hagander) writes:
> Log Message:
> ---
> Reserve the shared memory region during backend startup on Windows, so
> that memory allocated by starting third party DLLs doesn't end up
> conflicting with it.
I am wondering why failure of the various TerminateProcess
Pavel Stehule writes:
> I have one idea, that should simplify string to char array
> transformation. The base is idea: between every char is empty string,
> so empty string is regular separator for string_to_array function.
There already is a definition for what string_to_array does with an
empty
Am 25.07.2009 um 15:00 schrieb Peter Eisentraut:
When you run a file with psql -1/--single-transaction, and a command
fails,
you get bombarded with
ERROR: current transaction is aborted, commands ignored until end of
transaction block
for the rest of the file.
Shouldn't -1 imply ON_ERROR_S
Sam Mason wrote:
> On Fri, Jul 24, 2009 at 12:30:39PM -0500, Kevin Grittner wrote:
> In this dichotomy a NULL is most definitely a value and with my
> current experience I don't understand the distinction you're trying
> to draw.
There can be a place where a value *could* go which does not co
On Fri, 2009-07-24 at 15:47 -0700, David E. Wheeler wrote:
> WHILE (NOT rec_have IS NULL AND rec_have IS DISTINCT FROM NULL)
> OR (NOT rec_want IS NULL AND rec_want IS DISTINCT FROM NULL)
>
I don't think you want the "NOT x IS NULL" part at all -- that will
evaluate to false when x =
"David E. Wheeler" wrote:
> So when it gets to that second row in the first cursor, it doesn't
> know it's a row with NULLs as opposed to an empty row.
> there ought to be an easy way to tell the difference. :-(
I would have thought that the correct thing is to check SQLSTATE for
'02000'.
On Jul 25, 2009, at 11:06 AM, Tom Lane wrote:
Sam Mason writes:
Yes, that seems reasonable. The fact that you're still talking about
"confined users" is slightly worrying and would seem to imply that
there is still a superuser/normal user divide--it's probably just a
terminology thing though
Robert Haas writes:
> On Fri, Jul 24, 2009 at 7:21 PM, Tom Lane wrote:
>> I think you should just submit this with the code that uses it, so we
>> can evaluate whether the overall concept is a good one or not.
> This was split out from Synch Rep based on my suggestion to submit
> separately any p
Sam Mason writes:
> Yes, that seems reasonable. The fact that you're still talking about
> "confined users" is slightly worrying and would seem to imply that
> there is still a superuser/normal user divide--it's probably just a
> terminology thing though.
There had better still be superusers. O
Robert Haas writes:
> On Sat, Jul 25, 2009 at 3:21 AM, Peter Eisentraut wrote:
>> I think a less invasive change would be to include anum.h into all the
>> catalog/pg_*.h headers, so that the external interface stays the same.
> Gah. I wish a toplevel make would build "contrib".
> Anyway, yeah,
2009/7/25 Merlin Moncure :
> On Fri, Jul 24, 2009 at 11:40 PM, Pavel Stehule
> wrote:
>> Hello
>>
>> I have one idea, that should simplify string to char array
>> transformation. The base is idea: between every char is empty string,
>> so empty string is regular separator for string_to_array funct
On Fri, Jul 24, 2009 at 11:40 PM, Pavel Stehule wrote:
> Hello
>
> I have one idea, that should simplify string to char array
> transformation. The base is idea: between every char is empty string,
> so empty string is regular separator for string_to_array function.
> This behave is inversion of ar
On Sat, Jul 25, 2009 at 9:06 AM, Magnus Hagander wrote:
> On Saturday, July 25, 2009, Peter Eisentraut wrote:
>> When you run a file with psql -1/--single-transaction, and a command fails,
>> you get bombarded with
>>
>> ERROR: current transaction is aborted, commands ignored until end of
>> tran
On Saturday, July 25, 2009, Peter Eisentraut wrote:
> When you run a file with psql -1/--single-transaction, and a command fails,
> you get bombarded with
>
> ERROR: current transaction is aborted, commands ignored until end of
> transaction block
>
> for the rest of the file.
>
That would certa
When you run a file with psql -1/--single-transaction, and a command fails,
you get bombarded with
ERROR: current transaction is aborted, commands ignored until end of
transaction block
for the rest of the file.
Shouldn't -1 imply ON_ERROR_STOP or some variant by default?
--
Sent via pgsql-
Sam Mason wrote:
On Sat, Jul 25, 2009 at 10:43:05AM +0900, KaiGai Kohei wrote:
Sam Mason wrote:
This would seem to imply that all user defined trusted code has to
perform its own permission checks. How is MAC any different from DAC in
the presence of code such as:
CREATE OR REPLACE FUNCTION s
On Sat, Jul 25, 2009 at 10:43:05AM +0900, KaiGai Kohei wrote:
> Sam Mason wrote:
> >This would seem to imply that all user defined trusted code has to
> >perform its own permission checks. How is MAC any different from DAC in
> >the presence of code such as:
> >
> >CREATE OR REPLACE FUNCTION show_
On Sat, Jul 25, 2009 at 3:21 AM, Peter Eisentraut wrote:
> On Tuesday 30 June 2009 06:59:51 Robert Haas wrote:
>> The attached patch merges all of the logic currently in genbki.sh and
>> Gen_fmgrtab.{sh,pl} into a single script called gen_catalog.pl. It
>> then extends that logic to generate all o
Joshua Tolley wrote:
Am I the only one that gets this on make check, with this version (from
src/test/regress/log/initdb.log):
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in
/home/josh/devel/pgsrc/pg85/src/test/regress/./tmp_check/da
On Sat, Jul 25, 2009 at 10:35, Dave Page wrote:
> On Sat, Jul 25, 2009 at 9:18 AM, Magnus Hagander wrote:
>
>> IIRC, there is no 64-bit support in VC++2005 Express. There is a
>> 64-bit compiler in the SDK though, that can probably be made to work
>> with it. I think the official support for this
On Sat, Jul 25, 2009 at 9:18 AM, Magnus Hagander wrote:
> IIRC, there is no 64-bit support in VC++2005 Express. There is a
> 64-bit compiler in the SDK though, that can probably be made to work
> with it. I think the official support for this (SDK compiler
> integrated with VC++ Express) only arr
On Sat, Jul 25, 2009 at 02:24, Dave Page wrote:
> On Fri, Jul 24, 2009 at 10:53 PM, Stephen Frost wrote:
>> Dave,
>>
>> * Dave Page (dp...@pgadmin.org) wrote:
>>> On Fri, Jul 24, 2009 at 10:35 PM, Stephen Frost wrote:
>>> > Do you need access to a Win64 box? I can provide you access to a
>>> > Win
On Tuesday 30 June 2009 06:59:51 Robert Haas wrote:
> The attached patch merges all of the logic currently in genbki.sh and
> Gen_fmgrtab.{sh,pl} into a single script called gen_catalog.pl. It
> then extends that logic to generate all of the Anum_* and Natts_*
> constants, as well as the Schema_pg
67 matches
Mail list logo