mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
A little reformatting for better print appearance.
This commit is contained in:
@@ -2821,11 +2821,13 @@ execq(text *sql, int cnt)
|
||||
Now, compile and create the function:
|
||||
|
||||
<ProgramListing>
|
||||
CREATE FUNCTION execq (TEXT, INT4) RETURNS INT4 AS '...path_to_so' LANGUAGE 'c';
|
||||
CREATE FUNCTION execq (text, integer) RETURNS integer
|
||||
AS '...path_to_so'
|
||||
LANGUAGE C;
|
||||
</ProgramListing>
|
||||
|
||||
<ProgramListing>
|
||||
vac=> SELECT execq('CREATE TABLE a (x INT4)', 0);
|
||||
vac=> SELECT execq('CREATE TABLE a (x INTEGER)', 0);
|
||||
execq
|
||||
-----
|
||||
0
|
||||
|
||||
Reference in New Issue
Block a user